Skip to content

Commit 45c15eb

Browse files
committed
fix(git-import): docker image wasn't published
1 parent 0758a51 commit 45c15eb

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ jobs:
6060
type=raw,value=${{ steps.version.outputs.VERSION }},enable=true
6161
type=raw,value=latest,enable=${{ github.event_name == 'push' }}
6262
63+
- name: Determine Docker metadata
64+
id: meta_import
65+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5
66+
with:
67+
images: |
68+
modelix/mps-git-import
69+
tags: |
70+
type=raw,value=${{ steps.version.outputs.VERSION }},enable=true
71+
type=raw,value=latest,enable=${{ github.event_name == 'push' }}
72+
6373
# Perform the build in a separate call to avoid trying to publish
6474
# something where the build already failed partially. This could happen
6575
# due to the use of the --continue flag in the publish step.
@@ -128,5 +138,5 @@ jobs:
128138
file: ./mps-git-import-cli/Dockerfile
129139
platforms: linux/amd64,linux/arm64
130140
push: ${{ env.PUSH }}
131-
tags: ${{ steps.meta.outputs.tags }}
132-
labels: ${{ steps.meta.outputs.labels }}
141+
tags: ${{ steps.meta_import.outputs.tags }}
142+
labels: ${{ steps.meta_import.outputs.labels }}

0 commit comments

Comments
 (0)