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 56
56
- name : Install cosign
57
57
uses : sigstore/cosign-installer@v3.1.2
58
58
id : install_cosign
59
- # if: github.event_name != 'pull_request'
59
+ if : github.event_name != 'pull_request'
60
60
with :
61
61
cosign-release : ' v2.2.0'
62
62
74
74
- name : Login Container Registry
75
75
uses : docker/login-action@v3.0.0
76
76
id : registry_login
77
- # if: github.event_name != 'pull_request'
77
+ if : github.event_name != 'pull_request'
78
78
with :
79
79
registry : ${{ inputs.registry_uri }}
80
80
username : ${{ secrets.USER_NAME }}
@@ -101,7 +101,7 @@ jobs:
101
101
with :
102
102
context : ${{ inputs.working_directory }}
103
103
file : ${{ inputs.working_directory }}/Dockerfile
104
- push : true # ${{ github.event_name != 'pull_request' }}
104
+ push : ${{ github.event_name != 'pull_request' }}
105
105
tags : ${{ steps.metadata.outputs.tags }}
106
106
labels : ${{ steps.metadata.outputs.labels }}
107
107
cache-from : type=gha
@@ -111,7 +111,7 @@ jobs:
111
111
# This step uses the identity token to provision an ephemeral certificate against the sigstore community Fulcio instance.
112
112
- name : Sign container image
113
113
id : sign
114
- # if: ${{ github.event_name != 'pull_request' }}
114
+ if : ${{ github.event_name != 'pull_request' }}
115
115
run : |
116
116
cosign sign --yes "${TAGS}@${DIGEST}"
117
117
env :
You can’t perform that action at this time.
0 commit comments