Commit fccca74a authored by Sreenath Sasidharan Nair's avatar Sreenath Sasidharan Nair
Browse files

add commit ref name for docker push

parent ba88dcac
......@@ -12,7 +12,7 @@ docker-build:
stage: build
image: docker/compose
script:
- docker build --tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} .
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}
- docker build --tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME} .
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
tags:
- pdbekb
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