Skip to content

Commit 6dd47e5

Browse files
authored
Fixed actions versions
1 parent c465350 commit 6dd47e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ jobs:
3939

4040
# Workaround: https://github.com/docker/build-push-action/issues/461
4141
- name: Setup Docker buildx
42-
uses: docker/setup-buildx-action@1
42+
uses: docker/setup-buildx-action@v1
4343

4444
# Login against a Docker registry except on PR
4545
# https://github.com/docker/login-action
4646
- name: Log into registry ${{ env.REGISTRY }}
4747
if: github.event_name != 'pull_request'
48-
uses: docker/login-action@1
48+
uses: docker/login-action@v1
4949
with:
5050
registry: ${{ env.REGISTRY }}
5151
username: ${{ github.DOCKERHUB_USER }}
@@ -55,15 +55,15 @@ jobs:
5555
# https://github.com/docker/metadata-action
5656
- name: Extract Docker metadata
5757
id: meta
58-
uses: docker/metadata-action@3
58+
uses: docker/metadata-action@v3
5959
with:
6060
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6161

6262
# Build and push Docker image with Buildx (don't push on PR)
6363
# https://github.com/docker/build-push-action
6464
- name: Build and push Docker image
6565
id: build-and-push
66-
uses: docker/build-push-action@2
66+
uses: docker/build-push-action@v2
6767
with:
6868
context: .
6969
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)