File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,16 @@ jobs:
1818 name : Test
1919 runs-on : ubuntu-latest
2020 steps :
21- - name : Setup
21+ - name : Checkout
22+ uses : actions/checkout@v2
23+
24+ - name : Setup go
2225 uses : actions/setup-go@v2
2326 with :
2427 go-version : ' 1.16'
2528
26- - name : Checkout
27- uses : actions/checkout@v2
29+ - name : Set up docker buildx
30+ uses : docker/setup-buildx-action@v1
2831
2932 - name : Build
3033 run : make build
Original file line number Diff line number Diff line change @@ -142,10 +142,10 @@ gcloud-auth:
142142# docker images
143143# =============================================================================
144144image :
145- DOCKER_BUILDKIT=1 docker build -t $(DOCKER_TAG_DOCKERHUB ) .
145+ docker buildx build --platform linux/amd64,linux/arm64 -t $(DOCKER_TAG_DOCKERHUB ) .
146146
147- imagepush : image
148- docker push $(DOCKER_TAG_DOCKERHUB )
147+ imagepush :
148+ docker buildx build -- push --platform linux/amd64,linux/arm64 -t $(DOCKER_TAG_DOCKERHUB ) .
149149
150150
151151# =============================================================================
You can’t perform that action at this time.
0 commit comments