Bring back non-publishing docker build

This commit is contained in:
Matej Sima 2019-05-27 17:36:08 +02:00
parent 3f4eff7ac7
commit 32150e79a5

View File

@ -79,14 +79,13 @@ remote-repo-job:
#- opam install -y ocp-indent #- opam install -y ocp-indent
#- opam user-setup install #- opam user-setup install
# Run a docker build on the ligo image, to see if the current # Run a docker build without publishing to the registry
# commit does not break it build-current-docker-image:
# build-current-docker-image: stage: build
# stage: build <<: *docker
# <<: *docker <<: *docker_build
# <<: *docker_build except:
# except: - master
# - master
# When a MR/PR is merged to master # When a MR/PR is merged to master
# take the previous build and publish it to Docker Hub # take the previous build and publish it to Docker Hub
@ -97,5 +96,5 @@ build-and-publish-latest-docker-image:
after_script: after_script:
- docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD - docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD
- docker push $LIGO_REGISTRY_IMAGE:latest - docker push $LIGO_REGISTRY_IMAGE:latest
# only: only:
# - master - master