From bca8f9f8d37fc5f9fdc71b44710eb7662c253760 Mon Sep 17 00:00:00 2001 From: Jan Baraniewski Date: Mon, 29 Apr 2024 00:33:24 +0200 Subject: [PATCH] Update tagging of images --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21837cb..82e174d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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 }} \ No newline at end of file + COMMIT_HASH: ${{ env.COMMIT_HASH }} \ No newline at end of file