Skip to content

Commit a64f003

Browse files
committed
Update Docker image build and push action configuration
1 parent df46f7d commit a64f003

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/docker-image.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
push: true
2828
tags: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}:latest
2929

30-
- name: Build and push Docker image with the tag name
31-
if: startsWith(github.ref, 'refs/tags/')
32-
uses: docker/build-push-action@v5
33-
with:
34-
context: .
35-
push: true
36-
tags: |
37-
ghcr.io/${{ github.repository }}:${{ github.event.repository.name }}:${{ github.ref_name }}
30+
- name: Build and push Docker image with the tag name
31+
if: startsWith(github.ref, 'refs/tags/')
32+
uses: docker/build-push-action@v5
33+
with:
34+
context: .
35+
push: true
36+
tags: |
37+
ghcr.io/${{ github.repository }}:${{ github.event.repository.name }}:${{ github.ref_name }}

0 commit comments

Comments
 (0)