Skip to content

Commit

Permalink
fix(.github): pass path context
Browse files Browse the repository at this point in the history
  • Loading branch information
fntlnz committed Jul 23, 2024
1 parent c4ca60c commit 120f121
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,21 @@ jobs:
uses: docker/setup-buildx-action@v3
# amd64
- name: Build (amd64)
run: make GO="docker run -e GOARCH=amd64 -v $PWD:/staticreg -w /staticreg --rm $(cat .go_image) go"
run: make clean && make GO="docker run -e GOARCH=amd64 -v $PWD:/staticreg -w /staticreg --rm $(cat .go_image) go"
- name: Build image and push (amd64)
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
push: true
tags: public.cr.seqera.io/seqeralabs/staticreg
# arm64
- name: Build (arm64)
run: make GO="docker run -e GOARCH=arm64 -v $PWD:/staticreg -w /staticreg --rm $(cat .go_image) go"
run: make clean && make GO="docker run -e GOARCH=arm64 -v $PWD:/staticreg -w /staticreg --rm $(cat .go_image) go"
- name: Build (arm64)
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/arm64
push: true
tags: public.cr.seqera.io/seqeralabs/staticreg

0 comments on commit 120f121

Please sign in to comment.