Skip to content

Commit

Permalink
ci: add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
2maz committed Aug 1, 2024
1 parent 0be2edc commit e7ff7d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,13 @@ jobs:
id: push
run: |
IMAGE_NAME=${{ env.REGISTRY }}/rock-planning/templ-${{ matrix.os }}
DIGEST=$(docker push $IMAGE_NAME | tail -n 1)
docker push $IMAGE_NAME > docker_push.log
cat docker_push.log
DIGEST=$(grep "digest: sha256" docker_push.log | tail -n 1)
echo "DIGEST=$DIGEST"
# <tag>: digest: sha256:.... size: XXX
echo "digest=$(echo $DIGEST | cut -d' ' -f 3)" >> "$GITHUB_OUTPUT"
echo "GITHUB_OUTPUT=$GITHUB_OUTPUT"
- name: Generate artifact attestation
if: github.ref == 'refs/heads/test'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ scripts/output/
scripts/__pycache__
scripts/analyse/__pycache__
scripts/analyse/output
.cache

0 comments on commit e7ff7d6

Please sign in to comment.