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

chore: debugging ci script

parent 50c6a946
No related branches found
No related tags found
1 merge request!1Jl test
Pipeline #21968 failed
......@@ -12,15 +12,19 @@ stages:
build-testing-image:
stage: build-image
image: docker:19.03.1
image: docker:19.03.0
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:
# - 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 .
- echo " # (3) ----------------------------- "
- docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- echo " # (4) ----------------------------- "
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker push $CI_REGISTRY_IMAGE:latest
only:
......
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