@@ -23,32 +23,32 @@ jobs:
23
23
24
24
steps :
25
25
- name : Check out the repo
26
- uses : actions/checkout@v2
26
+ uses : actions/checkout@v4
27
27
28
28
- name : Log in to Docker Hub
29
29
if : github.event_name != 'pull_request'
30
- uses : docker/login-action@v1.12.0
30
+ uses : docker/login-action@v3
31
31
with :
32
32
username : ${{ secrets.DOCKER_USERNAME }}
33
33
password : ${{ secrets.DOCKER_PASSWORD }}
34
34
35
35
- name : Set up QEMU
36
- uses : docker/setup-qemu-action@v1
36
+ uses : docker/setup-qemu-action@v3
37
37
38
38
- name : Set up Docker Buildx
39
- uses : docker/setup-buildx-action@v1
39
+ uses : docker/setup-buildx-action@v3
40
40
41
41
- name : Log in to the Container registry
42
42
if : github.event_name != 'pull_request'
43
- uses : docker/login-action@v1.12.0
43
+ uses : docker/login-action@v3
44
44
with :
45
45
registry : ghcr.io
46
46
username : ${{ github.actor }}
47
47
password : ${{ secrets.GITHUB_TOKEN }}
48
48
49
49
- name : Extract metadata (tags, labels) for Docker
50
50
id : meta
51
- uses : docker/metadata-action@v3
51
+ uses : docker/metadata-action@v5
52
52
with :
53
53
images : |
54
54
coderockr/php
64
64
type=sha
65
65
66
66
- name : Build and push Docker image
67
- uses : docker/build-push-action@v2.7.0
67
+ uses : docker/build-push-action@v6
68
68
with :
69
69
context : .
70
70
push : ${{ github.event_name != 'pull_request' }}
0 commit comments