Commit e17abb90 authored by Guillaume Charifi's avatar Guillaume Charifi

Simplify the building process.

parent 1b9868dd
Pipeline #861 passed with stage
in 15 minutes and 11 seconds
......@@ -11,9 +11,5 @@ before_script:
stage: build
- docker rmi -f "nodejscontainer:latest"
- docker build --no-cache -t "nodejscontainer:latest" .
- docker rmi -f "$CI_REGISTRY_IMAGE:latest"
- docker tag "nodejscontainer:latest" "$CI_REGISTRY_IMAGE:latest"
- docker build --no-cache -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE:latest"
- docker rmi -f "nodejscontainer:latest"
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