Skip to content

Commit

Permalink
fixing docker inspect command
Browse files Browse the repository at this point in the history
Signed-off-by: Marcela Melara <[email protected]>
  • Loading branch information
marcelamelara committed Aug 10, 2023
1 parent 56df194 commit 23062a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-swsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
id: hash
run: |
# this extracts the sha256 hash
echo "img_hash_${{ matrix.interpreter }}=$(docker inspect docker.io/library/pdo_client -f '{{ .ContainerConfig.Image }}' | sed 's/.*://' | sed 's/$/ pdo_client_${{ matrix.interpreter }}/' | base64 -w0)" >> "$GITHUB_OUTPUT"
echo "img_hash_${{ matrix.interpreter }}=$(docker inspect pdo_client --format {{.ID}} | sed 's/.*://' | sed 's/$/ pdo_client_${{ matrix.interpreter }}/' | base64 -w0)" >> "$GITHUB_OUTPUT"
provenance:
needs: [pdo_ci]
strategy:
Expand Down

0 comments on commit 23062a4

Please sign in to comment.