Loading .gitlab-ci.yml +4 −2 Original line number Diff line number Diff line Loading @@ -10,15 +10,17 @@ variables: IMAGE: registry.code-hub.net/aperture-development/php-devel-fpm:latest before_script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN gitlab.example.com:5555 - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.code-hub.net build: stage: build only: [docker] script: - docker build --pull -t $IMAGE . release: stage: release only: [docker] script: - docker push $IMAGE only: Loading Loading
.gitlab-ci.yml +4 −2 Original line number Diff line number Diff line Loading @@ -10,15 +10,17 @@ variables: IMAGE: registry.code-hub.net/aperture-development/php-devel-fpm:latest before_script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN gitlab.example.com:5555 - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.code-hub.net build: stage: build only: [docker] script: - docker build --pull -t $IMAGE . release: stage: release only: [docker] script: - docker push $IMAGE only: Loading