Commit e9ab5e71 authored by Ijaz Ahmad's avatar Ijaz Ahmad
Browse files

Update .gitlab-ci.yml

parent 93982921
Pipeline #19861 passed with stages
in 15 seconds
......@@ -23,6 +23,9 @@ docker-build:
script:
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
docker-push:
stage: build
script:
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker push $CI_REGISTRY_IMAGE: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