Added github action build multi arch

This commit is contained in:
Alexis Couvreur
2020-10-21 12:57:00 +02:00
parent dfa3fe1886
commit c733adca93
3 changed files with 48 additions and 0 deletions

6
Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM golang:1.15.3-alpine AS build
WORKDIR /src
COPY . .
RUN go build -o ondemand-service .
FROM scratch AS bin
COPY --from=build ondemand-service /