@@ -39,13 +39,13 @@ jobs:
39
39
40
40
# Workaround: https://github.com/docker/build-push-action/issues/461
41
41
- name : Setup Docker buildx
42
- uses : docker/setup-buildx-action@1
42
+ uses : docker/setup-buildx-action@v1
43
43
44
44
# Login against a Docker registry except on PR
45
45
# https://github.com/docker/login-action
46
46
- name : Log into registry ${{ env.REGISTRY }}
47
47
if : github.event_name != 'pull_request'
48
- uses : docker/login-action@1
48
+ uses : docker/login-action@v1
49
49
with :
50
50
registry : ${{ env.REGISTRY }}
51
51
username : ${{ github.DOCKERHUB_USER }}
@@ -55,15 +55,15 @@ jobs:
55
55
# https://github.com/docker/metadata-action
56
56
- name : Extract Docker metadata
57
57
id : meta
58
- uses : docker/metadata-action@3
58
+ uses : docker/metadata-action@v3
59
59
with :
60
60
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
61
61
62
62
# Build and push Docker image with Buildx (don't push on PR)
63
63
# https://github.com/docker/build-push-action
64
64
- name : Build and push Docker image
65
65
id : build-and-push
66
- uses : docker/build-push-action@2
66
+ uses : docker/build-push-action@v2
67
67
with :
68
68
context : .
69
69
push : ${{ github.event_name != 'pull_request' }}
0 commit comments