Skip to content

Commit 30652a2

Browse files
authored
Merge pull request #515 from adrianchiris/fix-manifest-push-action-v2
Fix image push worklow for release
2 parents 94fcf0f + 9035fb6 commit 30652a2

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/image-push-release.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
uses: docker/metadata-action@v4
2929
with:
3030
images: ${{ env.IMAGE_NAME }}
31+
flavor: |
32+
latest=false
3133
tags: |
3234
type=ref,event=tag
3335
@@ -68,6 +70,8 @@ jobs:
6870
uses: docker/metadata-action@v4
6971
with:
7072
images: ${{ env.IMAGE_NAME }}
73+
flavor: |
74+
latest=false
7175
tags: |
7276
type=ref,event=tag
7377
@@ -109,6 +113,8 @@ jobs:
109113
uses: docker/metadata-action@v4
110114
with:
111115
images: ${{ env.IMAGE_NAME }}
116+
flavor: |
117+
latest=false
112118
tags: |
113119
type=ref,event=tag
114120
@@ -136,6 +142,8 @@ jobs:
136142
uses: docker/metadata-action@v4
137143
with:
138144
images: ${{ env.IMAGE_NAME }}
145+
flavor: |
146+
latest=false
139147
tags: |
140148
type=ref,event=tag
141149
@@ -148,7 +156,7 @@ jobs:
148156

149157
- name: Create manifest for multi-arch images
150158
run: |
151-
docker buildx imagetools create -t ${{ env.IMAGE_NAME }}:${{ steps.docker_meta.outputs.tags }} \
152-
${{ env.IMAGE_NAME }}:${{ steps.docker_meta.outputs.tags }}-amd64 \
153-
${{ env.IMAGE_NAME }}:${{ steps.docker_meta.outputs.tags }}-arm64 \
154-
${{ env.IMAGE_NAME }}:${{ steps.docker_meta.outputs.tags }}-ppc64le
159+
docker buildx imagetools create -t ${{ steps.docker_meta.outputs.tags }} \
160+
${{ steps.docker_meta.outputs.tags }}-amd64 \
161+
${{ steps.docker_meta.outputs.tags }}-arm64 \
162+
${{ steps.docker_meta.outputs.tags }}-ppc64le

0 commit comments

Comments
 (0)