Skip to content

Commit

Permalink
Adjusting tagging of images
Browse files Browse the repository at this point in the history
  • Loading branch information
KanBen86 committed Dec 3, 2023
1 parent a1372d6 commit 78f5f27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@ jobs:
- uses: rishabhgupta/split-by@v1
id: split
with:
string: '${{ env.RELEASE_NAME }}'
string: '${{ env.RELEASE_VERSION }}'
split-by: '.'
- name:
run: |
echo "major_version=${{ steps.split.outputs._0}}"
echo "major_version=${{ steps.split.outputs._0}}" >> $GITHUB_ENV
echo "minor_version=${{ steps.split.outputs._1}}"
echo "minor_version=${{ steps.split.outputs._1}}" >> $GITHUB_ENV
echo "patch_version=${{ steps.split.outputs._2}}"
echo "patch_version=${{ steps.split.outputs._2}}" >> $GITHUB_ENV
- uses: rishabhgupta/split-by@v1
Expand All @@ -63,6 +66,7 @@ jobs:
split-by: '-'
- name:
run: |
echo "patch_version=${{ steps.split2.outputs._0}}"
echo "patch_version=${{ steps.split2.outputs._0}}" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 78f5f27

Please sign in to comment.