Loading capif/templates/ci_dev.gitlab-ci.yml +13 −11 Original line number Diff line number Diff line Loading @@ -113,17 +113,19 @@ dev_linting_docker: # NOT WORKING: failed when docker login. seem we need to use docker-in-docker rather than # shell alpine runners #docker_login: # stage: docker_login # image: docker:24.0.9 # services: # - docker:24.0.9-dind # script: # - | # #docker login --username $CI_REGISTRY_USER --password $CI_REGISTRY_PASSWORD $CI_REGISTRY # cd services/capif-client/ && docker build -t capif-client:$CI_COMMIT_REF_SLUG . # # docker push capif-client:$CI_COMMIT_REF_SLUG docker_login: stage: docker_login image: docker:24.0.9 services: - docker:24.0.9-dind tags: - docker script: - | #docker login --username $CI_REGISTRY_USER --password $CI_REGISTRY_PASSWORD $CI_REGISTRY cd services/capif-client/ && docker build -t capif-client:$CI_COMMIT_REF_SLUG . docker push capif-client:$CI_COMMIT_REF_SLUG ## NOT WORKING: failed when build de images - failed to mount overlay: operation not permitted" storage-driver=overlay2 #docker_login: Loading Loading
capif/templates/ci_dev.gitlab-ci.yml +13 −11 Original line number Diff line number Diff line Loading @@ -113,17 +113,19 @@ dev_linting_docker: # NOT WORKING: failed when docker login. seem we need to use docker-in-docker rather than # shell alpine runners #docker_login: # stage: docker_login # image: docker:24.0.9 # services: # - docker:24.0.9-dind # script: # - | # #docker login --username $CI_REGISTRY_USER --password $CI_REGISTRY_PASSWORD $CI_REGISTRY # cd services/capif-client/ && docker build -t capif-client:$CI_COMMIT_REF_SLUG . # # docker push capif-client:$CI_COMMIT_REF_SLUG docker_login: stage: docker_login image: docker:24.0.9 services: - docker:24.0.9-dind tags: - docker script: - | #docker login --username $CI_REGISTRY_USER --password $CI_REGISTRY_PASSWORD $CI_REGISTRY cd services/capif-client/ && docker build -t capif-client:$CI_COMMIT_REF_SLUG . docker push capif-client:$CI_COMMIT_REF_SLUG ## NOT WORKING: failed when build de images - failed to mount overlay: operation not permitted" storage-driver=overlay2 #docker_login: Loading