Skip to content
Snippets Groups Projects

Edited the gitlab yml file, following errors during build

Closed Fortune Iriaye requested to merge firiaye/febio_docker:edit-gitlabci into main
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -9,6 +9,9 @@ stages:
variables:
SECURE_FILES_DOWNLOAD_PATH: '.secure'
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
get-cookie:
stage: pre-build
@@ -33,6 +36,7 @@ docker-build:
image: docker:latest
services:
- docker:dind
alias: docker
dependencies:
- get-cookie
script:
@@ -40,3 +44,4 @@ docker-build:
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --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
privileged: true
Loading