Last active
October 20, 2018 07:17
-
-
Save denispeyrusaubes/7094c6f64b5f9598bb76c3d4ae0bf2e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: docker:latest | |
stages: | |
- build | |
- test | |
- deploy | |
variables: | |
IMAGE_NAME: myimage # A modifier | |
before_script: | |
- docker info | |
services: | |
- docker:dind | |
build: | |
stage: build | |
script: | |
- echo "Construction de ${IMAGE_NAME}" | |
# - ... A compléter | |
test: | |
stage: test | |
script: | |
- echo "Test de ${IMAGE_NAME}" | |
# - ... A compléter | |
deploy: | |
stage: deploy | |
script: | |
- echo "Deploiement de ${IMAGE_NAME}" | |
# - ... A compléter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment