Skip to content

Commit 57e73a6

Browse files
committed
chore: update github actions
1 parent c05567f commit 57e73a6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,32 @@ jobs:
2323

2424
steps:
2525
- name: Check out the repo
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727

2828
- name: Log in to Docker Hub
2929
if: github.event_name != 'pull_request'
30-
uses: docker/login-action@v1.12.0
30+
uses: docker/login-action@v3
3131
with:
3232
username: ${{ secrets.DOCKER_USERNAME }}
3333
password: ${{ secrets.DOCKER_PASSWORD }}
3434

3535
- name: Set up QEMU
36-
uses: docker/setup-qemu-action@v1
36+
uses: docker/setup-qemu-action@v3
3737

3838
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v1
39+
uses: docker/setup-buildx-action@v3
4040

4141
- name: Log in to the Container registry
4242
if: github.event_name != 'pull_request'
43-
uses: docker/login-action@v1.12.0
43+
uses: docker/login-action@v3
4444
with:
4545
registry: ghcr.io
4646
username: ${{ github.actor }}
4747
password: ${{ secrets.GITHUB_TOKEN }}
4848

4949
- name: Extract metadata (tags, labels) for Docker
5050
id: meta
51-
uses: docker/metadata-action@v3
51+
uses: docker/metadata-action@v5
5252
with:
5353
images: |
5454
coderockr/php
@@ -64,7 +64,7 @@ jobs:
6464
type=sha
6565
6666
- name: Build and push Docker image
67-
uses: docker/build-push-action@v2.7.0
67+
uses: docker/build-push-action@v6
6868
with:
6969
context: .
7070
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)