Skip to content

Commit

Permalink
Prune only dangling images during release (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick authored Sep 6, 2023
1 parent 0ce9866 commit 1efaf5f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,12 @@ jobs:
make prepare-release
make "${single_arch[@]/%/@$VERSION}"
# free up disk space
docker system prune --volumes
make "${multi_arch[@]/%/@$VERSION}" PLATFORMS="linux/amd64,linux/arm64"
single_remote=("${single_arch[@]/#/ghcr.io/trinodb/}")
./bin/push.sh "${single_remote[@]/%/:$VERSION}"
# free up disk space
docker system prune --all --force --volumes
export PLATFORMS="linux/amd64,linux/arm64"
multi_remote=("${multi_arch[@]/#/ghcr.io/trinodb/}")
./bin/push.sh "${multi_remote[@]/%/:$VERSION}"
Expand Down

0 comments on commit 1efaf5f

Please sign in to comment.