Skip to content

Commit c0f11a1

Browse files
authored
Push docker image on release, not on tag (#97)
1 parent e7a5d7d commit c0f11a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
push: ${{ github.event_name == 'push' }}
4141
platforms: linux/amd64,linux/arm64
4242
tags: ${{ steps.meta_commit.outputs.tags }}
43-
labels: ${{ steps.meta.outputs.labels }}
43+
labels: ${{ steps.meta_commit.outputs.labels }}
4444

4545
- name: Docker meta for Release image
4646
id: meta_release
@@ -54,7 +54,7 @@ jobs:
5454
- name: Push Release image to DockerHub
5555
uses: docker/build-push-action@v2
5656
with:
57-
push: ${{ github.event_name == 'tag' }}
57+
push: ${{ github.event_name == 'release' }}
5858
platforms: linux/amd64,linux/arm64
5959
tags: ${{ steps.meta_release.outputs.tags }}
60-
labels: ${{ steps.meta.outputs.labels }}
60+
labels: ${{ steps.meta_release.outputs.labels }}

0 commit comments

Comments
 (0)