Skip to content

Commit

Permalink
fix: skip not addressable images by bulk signing
Browse files Browse the repository at this point in the history
  • Loading branch information
leogr committed Aug 28, 2019
1 parent 7690644 commit eb83618
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/util/bulksign.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ echo
echo
export KEYSTORE_PASSWORD=$passphrase
# To use a different signing key, please uncomment the following line (require vcn v0.5.1 or above)
#export VCN_KEY=<key>
export VCN_NOTARIZATION_PASSWORD=$passphrase
# Bulk sign
echo Signing...
echo
{{ range .Results -}}
{{ if .Hash -}}
vcn s --hash {{ .Hash }} --name "{{ if not .Containers -}}
sha256:{{ .Hash }}
{{- else -}}
{{ with index .Containers 0 }}{{ .Image }}{{ end }}
{{- end}}"
{{- end}}
{{ end }}
`

Expand Down

0 comments on commit eb83618

Please sign in to comment.