Commit 449edc73 authored by Maximilian Grüttemeier's avatar Maximilian Grüttemeier
Browse files

Update .gitlab-ci.yml

parent d76684b0
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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: