From f67aa24e17d2e98632f15d57591638de1def3131 Mon Sep 17 00:00:00 2001 From: cryi Date: Tue, 9 Apr 2024 22:26:27 +0200 Subject: [PATCH] fix pipeline --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ef3f28..f90912b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: echo "Found new version - $VERSION" echo "NEEDS_RELEASE=true" >> $GITHUB_OUTPUT fi - echo "SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_OUTPUT + echo "CURRENT_DATE=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT - name: build tezbox if: ${{ steps.prep.outputs.NEEDS_RELEASE == 'true'}} @@ -73,7 +73,7 @@ jobs: build-args: | IMAGE_TAG=v19.1 GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} - tags: ghcr.io/tez-capital/tezbox:tezos-v19.1#${{ steps.prep.outputs.SHORT_SHA }},ghcr.io/tez-capital/tezbox:tezos-v19.1,ghcr.io/tez-capital/tezbox:latest + tags: ghcr.io/tez-capital/tezbox:tezos-v19.1.CURRENT_DATE,ghcr.io/tez-capital/tezbox:tezos-v19.1,ghcr.io/tez-capital/tezbox:latest push: true provenance: false