Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Dec 11, 2024
1 parent cc08ee6 commit f69f080
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,22 @@ jobs:
VERSION=${{ env.RELEASE_VERSION }}
platforms: ${{ matrix.config.platform }}
labels: ${{ steps.meta.outputs.labels }}
push: true
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true

- name: Export digest
run: |
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
echo "Full build outputs: ${{ toJSON(steps.build.outputs) }}" # Debug all outputs
echo "Digest value: $digest"
if [ -z "$digest" ]; then
echo "Error: Digest is empty"
exit 1
fi
echo "$digest" > "/tmp/digests/${digest#sha256:}" # Write digest to file instead of touch
echo "Created files:"
ls -la /tmp/digests/
- name: Upload digest
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f69f080

Please sign in to comment.