File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5656 - name : Install cosign
5757 uses : sigstore/cosign-installer@v3.1.2
5858 id : install_cosign
59- # if: github.event_name != 'pull_request'
59+ if : github.event_name != 'pull_request'
6060 with :
6161 cosign-release : ' v2.2.0'
6262
7474 - name : Login Container Registry
7575 uses : docker/login-action@v3.0.0
7676 id : registry_login
77- # if: github.event_name != 'pull_request'
77+ if : github.event_name != 'pull_request'
7878 with :
7979 registry : ${{ inputs.registry_uri }}
8080 username : ${{ secrets.USER_NAME }}
@@ -101,7 +101,7 @@ jobs:
101101 with :
102102 context : ${{ inputs.working_directory }}
103103 file : ${{ inputs.working_directory }}/Dockerfile
104- push : true # ${{ github.event_name != 'pull_request' }}
104+ push : ${{ github.event_name != 'pull_request' }}
105105 tags : ${{ steps.metadata.outputs.tags }}
106106 labels : ${{ steps.metadata.outputs.labels }}
107107 cache-from : type=gha
@@ -111,7 +111,7 @@ jobs:
111111 # This step uses the identity token to provision an ephemeral certificate against the sigstore community Fulcio instance.
112112 - name : Sign container image
113113 id : sign
114- # if: ${{ github.event_name != 'pull_request' }}
114+ if : ${{ github.event_name != 'pull_request' }}
115115 run : |
116116 cosign sign --yes "${TAGS}@${DIGEST}"
117117 env :
You can’t perform that action at this time.
0 commit comments