Skip to content

Commit

Permalink
ci: fixed cosign_password value
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi-amao-devop committed Aug 8, 2024
1 parent ccf0bae commit 31f03b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
images: |
theignorantview/skillanthropy:${{ needs.release.outputs.new_tag }}
ghcr.io/${{ github.repository }}:${{ needs.release.outputs.new_tag }}
tags: type=ref,enable=false,event=pr
tags: type=ref,enable=true,priority=600,prefix=,suffix=,event=pr

- name: Build and push Docker images
id: push
Expand Down Expand Up @@ -139,6 +139,6 @@ jobs:
ghcr.io/${{ github.repository }}:${{ needs.push_to_registries.outputs.new_tag }}
ghcr.io/${{ github.repository }}:latest
DIGEST: ${{ needs.push_to_registries.outputs.digest }}
COSIGN_PASSWORD: "{{ secret.COSIGN_PASSWORD }}"
COSIGN_PASSWORD: "{{ secrets.COSIGN_PASSWORD }}"

run: echo "${TAGS}" | xargs -I {} cosign sign --key cosign.key -a "repo=${{ github.repository }}" -a "ref=${{ github.sha }}" --yes {}@${DIGEST}

0 comments on commit 31f03b5

Please sign in to comment.