Skip to content

Commit

Permalink
attempt to get the tag value correct
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Nov 29, 2024
1 parent 3e2cce6 commit e29d323
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{major}}.{{minor}}.{{patch}},value=${{ matrix.IMAGE_TAG }}
type=semver,pattern={{major}}.{{minor}},value=${{ matrix.IMAGE_TAG }}
type=semver,pattern={{major}},value=${{ matrix.IMAGE_TAG }}
- name: Build and push
id: push
uses: docker/build-push-action@v6
Expand Down

0 comments on commit e29d323

Please sign in to comment.