Skip to content

Commit

Permalink
Also build arm64 base image
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Feb 15, 2025
1 parent c7fa219 commit 96c5b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jobs:
run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Install buildx
uses: docker/setup-buildx-action@v3
with:
Expand All @@ -69,6 +73,7 @@ jobs:
- name: Build target base image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: images/base
pull: true
push: true
Expand Down
2 changes: 1 addition & 1 deletion images/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN \
gtk-doc-tools gobject-introspection gawk \
ocaml ocamlbuild libnum-ocaml-dev indent p7zip-full \
python3-setuptools python3-jinja2 python3-jsonschema python3-apt python-is-python3 && \
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get -y install nodejs && \
apt-get -y clean && \
git config --global user.email "builder@localhost" && \
Expand Down

0 comments on commit 96c5b45

Please sign in to comment.