Skip to content

Commit 1f59d43

Browse files
committed
Bump PHP to 8.4 and Alpine to 3.23
1 parent f24451a commit 1f59d43

4 files changed

Lines changed: 37 additions & 21 deletions

File tree

.github/workflows/integrate.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "test"
2+
on:
3+
pull_request:
4+
paths: [ "**", "!**.md" ]
5+
jobs:
6+
test:
7+
runs-on: "ubuntu-24.04"
8+
steps:
9+
- name: "Login to GitHub Container Registry",
10+
uses: "docker/login-action@v2",
11+
with:
12+
registry: "ghcr.io"
13+
username: "at-cloud-pro"
14+
password: "${{secrets.GITHUB_TOKEN}}"
15+
- name: "Clone Git repository"
16+
uses: "actions/checkout@v3"
17+
- name: "Build Docker image"
18+
run: "docker build ."

.github/workflows/release.yaml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,26 @@ name: "release"
22
on:
33
push:
44
branches: [ "main" ]
5-
paths: [ "**", "!**.md" ]
65
env:
76
PACKAGE_NAME: "ghcr.io/at-cloud-pro/caddy-php"
8-
PACKAGE_VERSION: "4.0.0"
7+
PACKAGE_VERSION: "5.0.0"
98
jobs:
109
release:
11-
runs-on: "ubuntu-22.04"
10+
runs-on: "ubuntu-24.04"
1211
steps:
13-
- { name: "Login to GitHub Container Registry", uses: "docker/login-action@v2", with: { registry: "ghcr.io", username: "oskarbarcz", password: "${{secrets.GITHUB_TOKEN}}" } }
14-
- { name: "Set Git user", run: "git config --global user.name Github Actions && git config --global user.email github-actions@github.com" }
15-
- { name: "Clone Git repository", uses: "actions/checkout@v3" }
16-
- { name: "Build Docker image with new tag", run: "docker build -t ${{ env.PACKAGE_NAME}}:${{ env.PACKAGE_VERSION }} ." }
17-
- { name: "Publish Docker image", run: "docker push ${{ env.PACKAGE_NAME}}:${{ env.PACKAGE_VERSION }}" }
18-
- { name: "Publish tags", run: "git tag ${{ env.PACKAGE_VERSION }} && git push && git push --tags" }
12+
- name: "Login to GitHub Container Registry"
13+
uses: "docker/login-action@v2"
14+
with:
15+
registry: "ghcr.io"
16+
username: "oskarbarcz"
17+
password: "${{secrets.GITHUB_TOKEN}}"
18+
- name: "Set Git user"
19+
run: "git config --global user.name Github Actions && git config --global user.email github-actions@github.com"
20+
- name: "Clone Git repository"
21+
uses: "actions/checkout@v3"
22+
- name: "Build Docker image with new tag"
23+
run: "docker build -t ${{ env.PACKAGE_NAME}}:${{ env.PACKAGE_VERSION }} ."
24+
- name: "Publish Docker image"
25+
run: "docker push ${{ env.PACKAGE_NAME}}:${{ env.PACKAGE_VERSION }}"
26+
- name: "Publish tags"
27+
run: "git tag ${{ env.PACKAGE_VERSION }} && git push && git push --tags"

.github/workflows/test.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.3-fpm-alpine3.19 AS rte
1+
FROM php:8.4-fpm-alpine3.23 AS rte
22

33
# Install Caddy
44
RUN apk add --no-cache \

0 commit comments

Comments
 (0)