Skip to content

Commit

Permalink
downcase IMAGE_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
pjlammertyn committed Oct 15, 2024
1 parent 75da6e5 commit 14f38a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish_to_pypi_and_build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,13 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: downcase IMAGE_NAME
run: |
echo "IMG=${IMAGE_NAME@L}" >>${GITHUB_ENV}
- name: Sign image with a key
run: |
cosign sign --yes --key env://COSIGN_PRIVATE_KEY ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
cosign sign --yes --key env://COSIGN_PRIVATE_KEY ${{ env.REGISTRY }}/${{ env.IMG }}:${{ github.ref_name }}
env:
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
Expand Down

0 comments on commit 14f38a7

Please # to comment.