From 10722912f25fc49afb609b1828ad47bc5762df71 Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Tue, 2 Jan 2024 02:13:33 +0100 Subject: [PATCH] Pass goarch properly --- .github/workflows/build_docker.yml | 4 ++-- Dockerfile | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index 8db040e..6d7896d 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -55,7 +55,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -79,7 +79,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.publicmeta.outputs.tags }} labels: ${{ steps.publicmeta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index 405635c..9f2181e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ FROM golang:1-alpine AS builder -ARG GOOS=linux -ARG GOARCH=amd64 ARG BuiltAt ARG GitCommit ARG Version