Skip to content

Commit db8957c

Browse files
committed
fix github action
1 parent 943d4b2 commit db8957c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docker-image.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Create and publish Docker image
33
on:
44
push:
55
branches: ['master']
6-
tags: ['v*']
76
workflow_dispatch: {}
87

98
env:
@@ -22,20 +21,20 @@ jobs:
2221
uses: actions/checkout@v3
2322

2423
- name: Log in to the Container registry
25-
uses: docker/login-action
24+
uses: docker/login-action@v2
2625
with:
2726
registry: ${{ env.REGISTRY }}
2827
username: ${{ github.actor }}
2928
password: ${{ secrets.GITHUB_TOKEN }}
3029

3130
- name: Extract metadata (tags, labels) for Docker
3231
id: meta
33-
uses: docker/metadata-action
32+
uses: docker/metadata-action@v4
3433
with:
3534
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3635

3736
- name: Build and push Docker image
38-
uses: docker/build-push-action
37+
uses: docker/build-push-action@v3
3938
with:
4039
context: .
4140
push: true

0 commit comments

Comments
 (0)