Skip to content
Snippets Groups Projects
Commit 8a72101f authored by Łukasz Łopatowski's avatar Łukasz Łopatowski
Browse files

Updated CI job for building docker image with release tag

parent 0e00b9ab
No related branches found
No related tags found
No related merge requests found
Pipeline #86834 passed
......@@ -40,10 +40,9 @@ build_and_push_release_image:
stage: build
only:
- tags
variables:
IMAGE_TAG: $(echo $CI_COMMIT_TAG | cut -c 2-)
script:
- |
export IMAGE_TAG=$(echo $CI_COMMIT_TAG | cut -c 2-)
docker image prune -f
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REPOSITORY
docker build -t $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment