Skip to content

Commit

Permalink
changed to a shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
ps-spb committed Sep 3, 2024
1 parent 5d94eba commit da94970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-push-Image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da94970

Please sign in to comment.