mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
CI: define the var just before using it
This commit is contained in:
parent
5cb619c22d
commit
5b2e8b3d71
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-push-image.yml
vendored
4
.github/workflows/build-push-image.yml
vendored
|
@ -271,7 +271,6 @@ jobs:
|
|||
env:
|
||||
COSIGN_PASSWORD: "password"
|
||||
COSIGN_YES: true
|
||||
IMAGE_URI: ${{ needs.merge.outputs.image_uri }}
|
||||
needs:
|
||||
- merge
|
||||
# outputs: add signature location ?
|
||||
|
@ -310,7 +309,8 @@ jobs:
|
|||
|
||||
- name: Sign container
|
||||
run: |-
|
||||
cosign sign --yes --key=${{ inputs.key_name }}.key "$IMAGE_URI"
|
||||
export IMAGE_URI="${{ inputs.registry }}/${{ inputs.image_name }}:${{ needs.merge.outputs.tag }}@${{ needs.merge.outputs.digest_root }}"
|
||||
cosign sign -d --yes --key=${{ inputs.key_name }}.key "$IMAGE_URI"
|
||||
shell: bash
|
||||
|
||||
- name: Get the container image from the registry
|
||||
|
|
Loading…
Reference in a new issue