Skip to content

Commit

Permalink
Build images for multiple platforms (amd64/arm64)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrekkr committed Feb 24, 2024
1 parent e3af168 commit 422c1e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
gh api "/user/packages/container/${name}/versions" \
--jq '.[] | select(.metadata.container.tags==[]) | .id'
)
echo "Found untagged images:"
echo "$to_delete"
if [[ -z $to_delete ]]; then
echo "No untagged images found"
exit 0
fi
while read -r id; do
echo "Deleting untagged image id: ${id}"
Expand Down

0 comments on commit 422c1e7

Please sign in to comment.