aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-08 13:44:40 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-08 13:44:40 +0100
commit9be629637d8fa5f6232ef14f58fe382e019358c7 (patch)
tree36a85f5b5605d8c4541ac48ff345deed677ac282
parentMakefile: split long commands (diff)
downloadcgitize-9be629637d8fa5f6232ef14f58fe382e019358c7.tar.gz
cgitize-9be629637d8fa5f6232ef14f58fe382e019358c7.zip
build for Mac's M1 also
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7f379d3..0230065 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -119,7 +119,7 @@ jobs:
if [ '${{ github.ref }}' = 'refs/heads/master' ]; then
echo 'platforms=linux/amd64' >> "$GITHUB_OUTPUT"
else
- echo 'platforms=linux/amd64,linux/armhf' >> "$GITHUB_OUTPUT"
+ echo 'platforms=amd64,armhf,arm64' >> "$GITHUB_OUTPUT"
fi
- name: Build and publish
uses: docker/build-push-action@v3
diff --git a/Makefile b/Makefile
index 2cec50b..1f24ef6 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ DO:
PROJECT := cgitize
# Target platforms (used by buildx):
-PLATFORMS := linux/amd64,linux/armhf
+PLATFORMS := amd64,armhf,arm64
# Docker Hub credentials:
DOCKER_USERNAME := egortensin