From da94970e0d5e16adee36d28e708ab2597550ab0a Mon Sep 17 00:00:00 2001 From: Simon Baker Date: Tue, 3 Sep 2024 15:54:21 +0100 Subject: [PATCH] changed to a shell script --- .github/workflows/build-push-Image.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-push-Image.yaml b/.github/workflows/build-push-Image.yaml index b3aa1fc..7ee0ed5 100644 --- a/.github/workflows/build-push-Image.yaml +++ b/.github/workflows/build-push-Image.yaml @@ -43,12 +43,13 @@ jobs: run: | #!/bin/bash export GOOS="linux" + cd cmd/moroz for GOARCH in "amd64" "arm64" do export GOARCH="${GOARCH}" mkdir -p build/${GOOS}/${GOARCH} - go build -o ../../build/${GOOS}/${GOARCH}/moroz cmd/moroz + go build -o ../../build/${GOOS}/${GOARCH}/moroz . done - name: Log in to GitHub Container Registry