File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3939 with :
4040 context : .
4141 push : true
42+ platforms : linux/amd64,linux/arm64
4243 tags : |
4344 ${{ secrets.DOCKERHUB_USERNAME }}/vmware-exporter:latest
4445 ghcr.io/${{ github.repository_owner }}/vmware-exporter:latest
7475 with :
7576 context : .
7677 push : true
78+ platforms : linux/amd64,linux/arm64
7779 tags : |
7880 ${{ secrets.DOCKERHUB_USERNAME }}/vmware-exporter:${{ github.ref_name }}
7981 ghcr.io/${{ github.repository_owner }}/vmware-exporter:${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -5,10 +5,7 @@ RUN apk add --update --no-cache ca-certificates
55
66# Set necessary environmet variables needed for our image
77ENV GO111MODULE=on \
8- CGO_ENABLED=0 \
9- GOOS=linux \
10- GOARCH=amd64 \
11- GOAMD64=v2
8+ CGO_ENABLED=0
129
1310ADD . /build
1411WORKDIR /build
You can’t perform that action at this time.
0 commit comments