Skip to content

Commit

Permalink
fix(ci): Use input version tag when building image
Browse files Browse the repository at this point in the history
The produced image was tagged with :main instead of v3.0.0 '\_('')_/'
  • Loading branch information
sondrelg committed Jun 24, 2024
1 parent ab30663 commit def81c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
type: string

concurrency:
group: ${{ github.ref }}
group: ${{ inputs.version-tag }}
cancel-in-progress: true

env:
Expand Down Expand Up @@ -53,6 +53,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: ${{ inputs.version-tag }}

- name: Build and push by digest
id: build
Expand Down Expand Up @@ -103,6 +104,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: ${{ inputs.version-tag }}

- name: Create manifest list and push
working-directory: /tmp/digests
Expand Down

0 comments on commit def81c2

Please sign in to comment.