Skip to content
Snippets Groups Projects
Commit dcb6cb44 authored by Chandrasekhar Ramakrishnan's avatar Chandrasekhar Ramakrishnan
Browse files

chore: use a distinct tag for the cron image build

parent c173c775
No related branches found
No related tags found
No related merge requests found
...@@ -34,15 +34,15 @@ update_build: ...@@ -34,15 +34,15 @@ update_build:
before_script: before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN http://$CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN http://$CI_REGISTRY
script: script:
- docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA . - docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA-update .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA-update
tags: tags:
- image-build - image-build
update: update:
stage: periodic stage: periodic
image: image:
name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA-update
entrypoint: [""] entrypoint: [""]
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment