Skip to content

Commit

Permalink
Fix: Ensure digest is correctly passed and set as an output
Browse files Browse the repository at this point in the history
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
  • Loading branch information
furkatgofurov7 committed Sep 18, 2024
1 parent 89626da commit 2768659
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 2768659

Please sign in to comment.