Skip to content
Snippets Groups Projects
Commit 25f6d30e authored by nimrod's avatar nimrod
Browse files

Add k8s image.

parent cd27779f
No related branches found
No related tags found
No related merge requests found
......@@ -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
*
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 \
;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment