Skip to content

Commit a6770d3

Browse files
committed
upgrade docker action version
1 parent 3599143 commit a6770d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ jobs:
2020
uses: actions/checkout@v2
2121

2222
- name: Log in to the Container registry
23-
uses: docker/login-action@v1
23+
uses: docker/login-action@v3
2424
with:
2525
registry: ${{ env.REGISTRY }}
2626
username: ${{ github.actor }}
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828

2929
- name: Extract metadata (tags, labels) for Docker
3030
id: meta
31-
uses: docker/metadata-action@v3
31+
uses: docker/metadata-action@v5
3232
with:
3333
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3434
tags: |
3535
type=sha,prefix={{branch}}-
3636
3737
- name: Build and push Docker image
38-
uses: docker/build-push-action@v2
38+
uses: docker/build-push-action@v5
3939
with:
4040
context: .
4141
push: true

0 commit comments

Comments
 (0)