Skip to content

Commit 7a29a81

Browse files
Update docker-publish.yml
1 parent 71d4bbb commit 7a29a81

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,7 @@ jobs:
6161
username: ${{ github.actor }}
6262
password: ${{ secrets.GITHUB_TOKEN }}
6363

64-
- name: Build and push
65-
uses: docker/build-push-action@v5
66-
with:
67-
push: true
68-
tags: ${{ steps.extract_branch.outputs.branch }}
69-
70-
64+
7165
# Extract metadata (tags, labels) for Docker
7266
# https://github.com/docker/metadata-action
7367
- name: Extract Docker metadata
@@ -76,6 +70,8 @@ jobs:
7670
with:
7771
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
7872

73+
74+
7975
# Build and push Docker image with Buildx (don't push on PR)
8076
# https://github.com/docker/build-push-action
8177
- name: Build and push Docker image

0 commit comments

Comments
 (0)