Skip to content
Snippets Groups Projects
Commit 65173e51 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

build(docker): set beta tag to production images for latest beta version

parent 3234500e
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,13 @@ docker-build-alpha-beta-release:
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
variables:
TAG: $CI_COMMIT_BRANCH
script:
- cp ${DOCKER_HUB_CONFIG} /kaniko/.docker/config.json
- export CP_VERSION=$(cat CP_VERSION.env)
- /kaniko/executor --context . --dockerfile docker/production/web-server/Dockerfile --destination ${DOCKER_IMAGE_WEB_SERVER}:${CP_VERSION}
- /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION}
- /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION} --destination ${DOCKER_IMAGE_APP}:${TAG}
needs:
- pipeline: $PARENT_PIPELINE_ID
job: release
......
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