Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
tweak build script
Browse files Browse the repository at this point in the history
  • Loading branch information
IncognitoTGT committed Jul 24, 2024
1 parent c43c30e commit b5cfa6a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ BGREEN='\033[1;32m' # GREEN
BANNER="$GREEN✨ Stardust$OFF:"

images=("chromium" "debian" "firefox" "gimp" "debian-kde" "pinball")
x64Only=("pinball")

for t in ${images[@]}; do
printf "$BANNER$BGREEN Building$OFF $BLUE$t$OFF\n"
docker buildx build . -f $t/Dockerfile --push --platform linux/amd64,linux/arm/v7,linux/arm64 --tag ghcr.io/spaceness/$t
if [[ " ${x64Only[@]} " =~ " ${t} " ]]; then
docker buildx build . -f $t/Dockerfile --quiet --push --platform linux/amd64 --tag ghcr.io/spaceness/$t
continue
fi
docker buildx build . -f $t/Dockerfile --quiet --push --platform linux/amd64,linux/arm64 --tag ghcr.io/spaceness/$t
done

0 comments on commit b5cfa6a

Please sign in to comment.