Skip to content
Snippets Groups Projects
Commit 8074b5fa authored by Dima Mishin's avatar Dima Mishin :alien:
Browse files

Don't need our own image anymore

parent e089c375
No related branches found
No related tags found
No related merge requests found
image: gcr.io/kaniko-project/executor:debug
stages:
- build-and-push
build-and-push-job:
stage: build-and-push
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE:latest
FROM netboxcommunity/netbox:v2.8.8
ENV NAPALM_USERNAME netbox-napalm
RUN apk add git && pip3 install napalm
image: image:
repository: gitlab-registry.nautilus.optiputer.net/prp/netbox repository: netboxcommunity/netbox
tag: latest tag: v2.8.8
resources: resources:
limits: limits:
...@@ -20,4 +20,4 @@ nginx: ...@@ -20,4 +20,4 @@ nginx:
memory: 128Mi memory: 128Mi
persistence: persistence:
storageClass: "rook-block" storageClass: "rook-block"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment