Commit 0c132f8d authored by Vic Garcia's avatar Vic Garcia

Example: Building using docker-compose

parent c17eb161
Pipeline #76776321 passed with stage
in 1 minute and 29 seconds
......@@ -9,5 +9,6 @@ build:
- docker:dind
# build the image and tag it to use the GitLab CI docker registry
- docker build . -t "${CI_REGISTRY_IMAGE}/hello:${CI_COMMIT_SHORT_SHA}"
- docker-compose build
- docker images # list the images the docker services knows about
\ No newline at end of file
version: '3'
image: "${CI_REGISTRY_IMAGE-local}/hello:${CI_COMMIT_SHORT_SHA-local}"
context: "."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment