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

Commit

Permalink
feat: multiarch (test1)
Browse files Browse the repository at this point in the history
  • Loading branch information
IncognitoTGT committed Jul 24, 2024
1 parent dce2ae5 commit c43c30e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build the Docker image
run: bash build.sh -p

run: bash buildx.sh
14 changes: 14 additions & 0 deletions buildx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
OFF='\033[0m' # Text Reset
GREEN='\033[0;32m' # GREEN
BLUE='\033[0;34m' # BLUE
BGREEN='\033[1;32m' # GREEN

BANNER="$GREEN✨ Stardust$OFF:"

images=("chromium" "debian" "firefox" "gimp" "debian-kde" "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
done

0 comments on commit c43c30e

Please sign in to comment.