Skip to content
Snippets Groups Projects
Commit 9c0d65c9 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

chore: CI debug

parent 23b7955e
No related branches found
No related tags found
1 merge request!1Jl test
Pipeline #21980 failed
......@@ -2,7 +2,6 @@ services:
- name: docker:19.03.6-dind
command: ["--mtu=1458"]
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
......@@ -17,15 +16,18 @@ build-testing-image:
tags:
- privileged
before_script:
- echo " (1) ----------------------------- "
- docker info
- echo " (2) ----------------------------- "
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
script:
- echo " (3) ----------------------------- "
- docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- echo " (4) ----------------------------- "
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker push $CI_REGISTRY_IMAGE:latest
only:
changes:
- "DESCRIPTION"
- "Dockerfile"
when: always
run-drake:
stage: fit
......
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