Skip to content

Commit

Permalink
Update tagging of images
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed Apr 28, 2024
1 parent f55caf6 commit bca8f9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Extract version from tag
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
run: echo "COMMIT_HASH=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
env:
GITHUB_REF: ${{ github.ref }}

Expand All @@ -132,14 +132,14 @@ jobs:
- name: Build container image
run: make build-${{ matrix.component }}-image
env:
VERSION: ${{ env.VERSION }}
COMMIT_HASH: ${{ env.COMMIT_HASH }}

- name: Tag container image
run: make tag-${{ matrix.component }}-image
env:
VERSION: ${{ env.VERSION }}
COMMIT_HASH: ${{ env.COMMIT_HASH }}

- name: Push container images
run: make push-${{ matrix.component }}-images
env:
VERSION: ${{ env.VERSION }}
COMMIT_HASH: ${{ env.COMMIT_HASH }}

0 comments on commit bca8f9f

Please sign in to comment.