Skip to content

Commit

Permalink
chore: fixes in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Apr 2, 2024
1 parent 9da2fe5 commit c38f57b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
run: |
mkdir -p /tmp/digests
echo "Bake Metadata: ${{ steps.bake.outputs.metadata }}"
digest=$(echo '${{ steps.bake.outputs.metadata }}' | jq -r '.["php-81-fpm-alpine"].containerimage.digest' || echo '')
if [[ -z "$digest" ]]; then
digest=$(echo '${{ steps.bake.outputs.metadata }}' | jq -r '.["php-81-fpm-alpine"]["containerimage.digest"]')
if [[ -z "$digest" || "$digest" == "null" ]]; then
echo "Digest not found."
exit 1
fi
Expand Down

0 comments on commit c38f57b

Please sign in to comment.