Commit 4816ea1 Alexander Voigt
committed
1 parent 63c8be6 commit 4816ea1 Copy full SHA for 4816ea1
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
FROM golang:alpine AS builder
2
2
RUN apk update && apk add --no-cache ca-certificates git && update-ca-certificates
3
3
COPY . /app
4
- RUN cd /app && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o app .
4
+ RUN cd /app && CGO_ENABLED=0 GOOS=linux go build -o app .
5
5
6
6
FROM scratch
7
7
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ test:
14
14
go test -vet=all ./...
15
15
16
16
docker :
17
- docker buildx build --tag aoepeople/vistecture-dashboard:latest --platform linux/amd64 .
17
+ docker buildx build --tag aoepeople/vistecture-dashboard:latest --platform linux/amd64,linux/arm64 .
18
18
19
19
dockerpublish :
20
20
docker buildx build \
21
21
--push \
22
22
--tag aoepeople/vistecture-dashboard :latest \
23
23
--tag aoepeople/vistecture-dashboard :$(VERSION ) \
24
- --platform linux/amd64 .
24
+ --platform linux/amd64,linux/arm64 .
You can’t perform that action at this time.
0 commit comments