Bring back non-publishing docker build
This commit is contained in:
parent
3f4eff7ac7
commit
32150e79a5
@ -79,14 +79,13 @@ remote-repo-job:
|
||||
#- opam install -y ocp-indent
|
||||
#- opam user-setup install
|
||||
|
||||
# Run a docker build on the ligo image, to see if the current
|
||||
# commit does not break it
|
||||
# build-current-docker-image:
|
||||
# stage: build
|
||||
# <<: *docker
|
||||
# <<: *docker_build
|
||||
# except:
|
||||
# - master
|
||||
# Run a docker build without publishing to the registry
|
||||
build-current-docker-image:
|
||||
stage: build
|
||||
<<: *docker
|
||||
<<: *docker_build
|
||||
except:
|
||||
- master
|
||||
|
||||
# When a MR/PR is merged to master
|
||||
# take the previous build and publish it to Docker Hub
|
||||
@ -97,5 +96,5 @@ build-and-publish-latest-docker-image:
|
||||
after_script:
|
||||
- docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD
|
||||
- docker push $LIGO_REGISTRY_IMAGE:latest
|
||||
# only:
|
||||
# - master
|
||||
only:
|
||||
- master
|
||||
|
Loading…
Reference in New Issue
Block a user