Skip to content

Commit 9073003

Browse files
committed
Fix step ids
1 parent dcc9b20 commit 9073003

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release-images.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
2828

2929
- name: Gather Tags and Labels (Release)
30-
id: meta
30+
id: meta_release
3131
uses: docker/[email protected]
3232
with:
3333
images: glossawy/rss-feed-editor
3434
tags: type=match,pattern=\d.\d,group=0
3535
if: ${{ github.event_name == 'release' }}
3636

3737
- name: Gather Tags and Labels (Push)
38-
id: meta
38+
id: meta_push
3939
uses: docker/[email protected]
4040
with:
4141
images: glossawy/rss-feed-editor
@@ -52,8 +52,8 @@ jobs:
5252
context: .
5353
platforms: linux/arm64,linux/amd64
5454
push: true
55-
tags: ${{ steps.meta.outputs.tags }}
56-
labels: ${{ steps.meta.outputs.labels }}
55+
tags: ${{ steps.meta_release.outputs.tags || steps.meta_push.outputs.tags }}
56+
labels: ${{ steps.meta_release.outputs.labels || steps.meta_push.outputs.labels }}
5757

5858
push_frontend:
5959
name: Push Frontend Docker image to Docker Hub
@@ -69,15 +69,15 @@ jobs:
6969
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
7070

7171
- name: Gather Tags and Labels (Release)
72-
id: meta
72+
id: meta_release
7373
uses: docker/[email protected]
7474
with:
7575
images: glossawy/rss-feed-editor-frontend
7676
tags: type=match,pattern=\d.\d,group=0
7777
if: ${{ github.event_name == 'release' }}
7878

7979
- name: Gather Tags and Labels (Push)
80-
id: meta
80+
id: meta_push
8181
uses: docker/[email protected]
8282
with:
8383
images: glossawy/rss-feed-editor-frontend
@@ -94,5 +94,5 @@ jobs:
9494
context: .
9595
platforms: linux/arm64,linux/amd64
9696
push: true
97-
tags: ${{ steps.meta.outputs.tags }}
98-
labels: ${{ steps.meta.outputs.labels }}
97+
tags: ${{ steps.meta_release.outputs.tags || steps.meta_push.outputs.tags }}
98+
labels: ${{ steps.meta_release.outputs.labels || steps.meta_push.outputs.labels }}

0 commit comments

Comments
 (0)