Skip to content

Commit

Permalink
chore: Update Docker image for giropops-senhas service
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliagranato committed Aug 26, 2024
1 parent 056bde6 commit 1051669
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 754 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/chainguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,29 +117,4 @@ jobs:
with:
sarif_file: 'trivy-results.sarif'

# Assinar imagem com o Cosign
- name: Assinar imagem com uma chave
run: |
TAGS="${{ steps.meta.outputs.tags }}"
DIGEST="${{ steps.push-docker-image.outputs.digest }}"
if [ -z "${TAGS}" ] || [ -z "${DIGEST}" ]; then
echo "Erro: TAGS ou DIGEST não estão definidos."
exit 1
fi
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
if [ -z "$images" ]; then
echo "Erro: Nenhuma imagem para assinar."
exit 1
fi
cosign sign --yes --key env://COSIGN_PRIVATE_KEY $images
env:
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}

51 changes: 0 additions & 51 deletions chainguard/melange.rsa

This file was deleted.

14 changes: 0 additions & 14 deletions chainguard/melange.rsa.pub

This file was deleted.

73 changes: 0 additions & 73 deletions chainguard/sbom-index.spdx.json

This file was deleted.

Loading

0 comments on commit 1051669

Please sign in to comment.