File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,18 @@ jobs:
2424
2525 release :
2626 runs-on : ubuntu-latest
27- needs :
27+ needs :
2828 - run-build
2929
3030 permissions :
3131 contents : write # write release tag to the repo
3232 packages : write # push the container to ghcr
33-
33+
3434 steps :
3535 - name : Checkout code
3636 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3737 with :
38- fetch-depth : 0 # Fetch all history for all tags and branches
38+ fetch-depth : 0 # Fetch all history for all tags and branches
3939
4040 - name : Check if tag already exists
4141 id : check_tag
4747 else
4848 echo "Tag does not exit. Building release version ${{ github.event.inputs.nextVersion }}"
4949 fi
50-
50+
5151 - name : Log in to the Container registry
5252 uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
5353 with :
6161 with :
6262 context : .
6363 push : true
64- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.nextVersion }}
64+ sbom : true
65+ provenance : mode=max
66+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.nextVersion }}
6567
6668 - name : Create Release with autogenerated release notes
6769 env :
You can’t perform that action at this time.
0 commit comments