release workflow fixes for docker tags

This commit is contained in:
Denys Vuika 2023-04-11 09:39:41 +01:00
parent 5677546687
commit 3f805b0e25
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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: