File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 - name : Checkout repository
3131 uses : actions/checkout@v3
3232
33+ - name : Get version tag
34+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
35+
3336 # Install the cosign tool except on PR
3437 # https://github.com/sigstore/cosign-installer
3538 - name : Install cosign
6164 with :
6265 context : .
6366 push : ${{ github.event_name != 'pull_request' }}
64- tags : ${{ github.repository }} :${{ github.ref }},latest
67+ tags : squid-https-cache :${{ env.RELEASE_VERSION }},squid-https-cache: latest
6568 cache-from : type=gha
6669 cache-to : type=gha,mode=max
6770
7477 if : ${{ github.event_name != 'pull_request' }}
7578 env :
7679 # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
77- TAGS : ${{ github.repository }} :${{ github.ref }},latest
80+ TAGS : squid-https-cache :${{ env.RELEASE_VERSION }},squid-https-cache: latest
7881 DIGEST : ${{ steps.build-and-push.outputs.digest }}
7982 # This step uses the identity token to provision an ephemeral certificate
8083 # against the sigstore community Fulcio instance.
You can’t perform that action at this time.
0 commit comments