Push Docker images as part of the release workflow (#1037)

This commit is contained in:
John Maguire
2024-05-02 09:37:11 -04:00
committed by GitHub
parent f39bfbb7fa
commit b5c3486796
5 changed files with 107 additions and 1 deletions

11
docker/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM gcr.io/distroless/static:latest
ARG TARGETOS TARGETARCH
COPY build/$TARGETOS-$TARGETARCH/nebula /nebula
COPY build/$TARGETOS-$TARGETARCH/nebula-cert /nebula-cert
VOLUME ["/config"]
ENTRYPOINT ["/nebula"]
# Allow users to override the args passed to nebula
CMD ["-config", "/config/config.yml"]