Подготовка образа
build:
stage: build
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $CONTAINER_TEST_IMAGE {{gs:docerFileName}} --build-arg=secret_key=secret
- docker push $CONTAINER_TEST_IMAGE
only:
- tags