Skip to content

Commit 1051669

Browse files
author
nataliagranato
committedAug 26, 2024·
chore: Update Docker image for giropops-senhas service
1 parent 056bde6 commit 1051669

File tree

6 files changed

+2
-754
lines changed

6 files changed

+2
-754
lines changed
 

‎.github/workflows/chainguard.yml

-25
Original file line numberDiff line numberDiff line change
@@ -117,29 +117,4 @@ jobs:
117117
with:
118118
sarif_file: 'trivy-results.sarif'
119119

120-
# Assinar imagem com o Cosign
121-
- name: Assinar imagem com uma chave
122-
run: |
123-
TAGS="${{ steps.meta.outputs.tags }}"
124-
DIGEST="${{ steps.push-docker-image.outputs.digest }}"
125-
126-
if [ -z "${TAGS}" ] || [ -z "${DIGEST}" ]; then
127-
echo "Erro: TAGS ou DIGEST não estão definidos."
128-
exit 1
129-
fi
130-
131-
images=""
132-
for tag in ${TAGS}; do
133-
images+="${tag}@${DIGEST} "
134-
done
135-
136-
if [ -z "$images" ]; then
137-
echo "Erro: Nenhuma imagem para assinar."
138-
exit 1
139-
fi
140-
141-
cosign sign --yes --key env://COSIGN_PRIVATE_KEY $images
142-
env:
143-
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
144-
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
145120

‎chainguard/melange.rsa

-51
This file was deleted.

‎chainguard/melange.rsa.pub

-14
This file was deleted.

‎chainguard/sbom-index.spdx.json

-73
This file was deleted.
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.