Loading .gitlab-ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -89,3 +89,20 @@ push-hugo: needs: - job: build-hugo artifacts: true # k8s image: build-k8s: extends: .container-build variables: CONTEXT: images/k8s push-k8s: extends: .container-push variables: CONTEXT: images/k8s IMAGE: ci-images TAG: k8s needs: - job: build-k8s artifacts: true images/k8s/.dockerignore 0 → 100644 +1 −0 Original line number Diff line number Diff line * images/k8s/Dockerfile 0 → 100644 +13 −0 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/golang:alpine3.14 as kind RUN GO111MODULE=on go get sigs.k8s.io/kind@v0.11.1 FROM registry.hub.docker.com/library/alpine:3.14 COPY --from=kind /go/bin/kind /usr/local/bin/ # hadolint ignore=DL3018 RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \ helm \ kubectl \ && \ apk add --update --no-cache \ docker-cli \ ; Loading
.gitlab-ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -89,3 +89,20 @@ push-hugo: needs: - job: build-hugo artifacts: true # k8s image: build-k8s: extends: .container-build variables: CONTEXT: images/k8s push-k8s: extends: .container-push variables: CONTEXT: images/k8s IMAGE: ci-images TAG: k8s needs: - job: build-k8s artifacts: true
images/k8s/Dockerfile 0 → 100644 +13 −0 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/golang:alpine3.14 as kind RUN GO111MODULE=on go get sigs.k8s.io/kind@v0.11.1 FROM registry.hub.docker.com/library/alpine:3.14 COPY --from=kind /go/bin/kind /usr/local/bin/ # hadolint ignore=DL3018 RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \ helm \ kubectl \ && \ apk add --update --no-cache \ docker-cli \ ;