From 3f805b0e252e57bc5978f23cdc19a27b6986792d Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 11 Apr 2023 09:39:41 +0100 Subject: [PATCH] release workflow fixes for docker tags --- .github/actions/get-image-tag/action.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/get-image-tag/action.yml b/.github/actions/get-image-tag/action.yml index 2705f4930f..b1234517b8 100644 --- a/.github/actions/get-image-tag/action.yml +++ b/.github/actions/get-image-tag/action.yml @@ -16,6 +16,6 @@ runs: if [[ "${{ inputs.branch_name }}" == "master" ]]; then TAG_VERSION="$(jq -cr '.version' < package.json)" else - TAG_VERSION="${{ inputs.branch_name }}-${{ github.run_id }},{{ inputs.branch_name }}" + TAG_VERSION="${{ inputs.branch_name }}-${{ github.run_id }},${{ inputs.branch_name }}" fi echo "TAG_VERSION=$TAG_VERSION" >> $GITHUB_ENV diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f744e8a89..8c682da33b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - fetch-depth: 2 + fetch-depth: 0 - name: Setup node uses: actions/setup-node@v3 with: @@ -68,7 +68,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - fetch-depth: 2 + fetch-depth: 0 - name: Setup node uses: actions/setup-node@v3 with: