File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 3636 - name : Set up Docker Buildx
3737 uses : docker/setup-buildx-action@v3
3838
39- - name : " 📦 Assemble the Docker Tags"
40- run : |
41- bash build.sh \
42- --release-type ${{ inputs.release_type }} \
43- --print-tags-only
44-
4539 - name : Set REPOSITORY_BUILD_VERSION
4640 id : set_version
4741 run : |
5448 echo "REPOSITORY_BUILD_VERSION=git-${SHORT_SHA}-${{ github.run_id }}" >> $GITHUB_ENV
5549 fi
5650
51+ - name : " 📦 Assemble the Docker Tags"
52+ run : |
53+ if [ "${{ github.ref_type }}" == "tag" ]; then
54+ bash build.sh \
55+ --release-type ${{ inputs.release_type }} \
56+ --version ${{ github.ref_name }} \
57+ --print-tags-only
58+ else
59+ bash build.sh \
60+ --release-type ${{ inputs.release_type }} \
61+ --print-tags-only
62+ fi
63+
5764 - name : Build and push
5865 uses : docker/build-push-action@v6
5966 with :
You can’t perform that action at this time.
0 commit comments