From faa8db7e5ceef16bce9695bcd46a33a00e0b716a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Tue, 14 Dec 2021 11:57:29 +0100 Subject: [PATCH] ci: clean bee_version only for repository dispatch (#65) --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 759e928..a4969a5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -52,10 +52,10 @@ jobs: echo "BUILD_IMAGE=${{ github.event.inputs.beeVersionAsCommitHash }}" >> $GITHUB_ENV echo "COMMIT_VERSION_TAG=${{ github.event.inputs.commitVersionTag }}" >> $GITHUB_ENV echo "STATE_COMMIT=${{ github.event.inputs.stateCommit }}" >> $GITHUB_ENV + else + echo "BEE_VERSION=${BEE_VERSION/v}" >> $GITHUB_ENV fi - echo "BEE_VERSION=${BEE_VERSION/v}" >> $GITHUB_ENV - - name: Auth to Github Package Docker Registry if: ${{ github.event_name == 'repository_dispatch' || (github.event.inputs.buildImage == 'true' && success()) }} run: |