Skip to content

Commit

Permalink
Merge pull request #747 from furkatgofurov7/fix-image-signing-cosign
Browse files Browse the repository at this point in the history
πŸ› Fix: Ensure digest is correctly passed and set as an output
  • Loading branch information
alexander-demicev authored Sep 18, 2024
2 parents 89626da + 2768659 commit 6387582
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release_build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ runs:
password: ${{ inputs.password }}
- name: Build & Push docker image
shell: bash
id: image_info
run: |
IID_FILE=$(mktemp)
make docker-build-and-push TAG=${{ inputs.tag }} REGISTRY=${{ inputs.registry }} ORG=${{ inputs.org }} IID_FILE=${IID_FILE}
digest=$(head -n 1 ${IID_FILE})
image=${{ inputs.registry }}/${{ inputs.registry }}/turtles
image=${{ inputs.registry }}/${{ inputs.org }}/turtles
echo "digest=${digest}" >> $GITHUB_OUTPUT
echo "image=${image}" >> $GITHUB_OUTPUT

0 comments on commit 6387582

Please sign in to comment.