diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2924683a46c6d3d3c9396331513435838a11c6e8..217c22d1ca4e55742f961585360a7b3c439faa30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,11 @@ build: variables: IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG script: + - ls -la - docker info - - echo "hello 1" - - echo "password is ${CI_REGISTRY_PASSWORD} and username is ${CI_REGISTRY_USER} and resgistry is ${CI_REGISTRY}" - - echo "hello 2" + - echo \"hello 1\" + - echo \"password is ${CI_REGISTRY_PASSWORD} and username is ${CI_REGISTRY_USER} and resgistry is ${CI_REGISTRY}\" + - echo \"hello 2\" - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build -t $CI_COMMIT_BRANCH.$CI_COMMIT_TIMESTAMP . - docker push $IMAGE_TAG