Skip to content
Snippets Groups Projects
Commit 01aa83c0 authored by exp-caesium's avatar exp-caesium
Browse files

switch to kaniko

parent 99f1667f
Branches master
No related tags found
No related merge requests found
Pipeline #5534 failed
stages: stages:
- build - build
image: docker:latest
services:
- name: docker:dind
command: [ "--insecure-registry=registry.cslab" ]
before_script:
- docker info
build: build:
stage: build stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script: script:
- docker build - /kaniko/executor
--tag registry.cslab/prometheus/apcupsd-exporter:latest --insecure
. --skip-tls-verify
- docker push registry.cslab/prometheus/apcupsd-exporter:latest --context $CI_PROJECT_DIR
tags: --dockerfile $CI_PROJECT_DIR/Dockerfile
- dind --destination $CI_REGISTRY/prometheus/apcupsd-exporter:latest
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