Skip to content
Snippets Groups Projects
Commit 5f1194aa authored by trantzas's avatar trantzas
Browse files

Merging 2024Q2_RC into develop (updating the pipeline that creates docker...

Merging 2024Q2_RC into develop (updating the pipeline that creates docker images for the main branch)
parents e74572d8 f3c29635
No related branches found
No related tags found
1 merge request!46MR for Release 2024Q4
Pipeline #7247 passed
...@@ -15,12 +15,13 @@ ...@@ -15,12 +15,13 @@
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
entrypoint: [""] entrypoint: [""]
script: script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:$APP_VERSION" - export DOCKER_TAG=$APP_VERSION
- | - |
if [ "$CI_COMMIT_REF_NAME" = "main" ]; then if [ "$CI_COMMIT_REF_NAME" = "main" ]; then
echo "Pushing Docker image with tag 'latest'" echo "Pushing Docker image with tag 'latest'"
/kaniko/executor --context "${CI_PROJECT_DIR}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:latest" export DOCKER_TAG=latest
fi fi
- /kaniko/executor --context "${CI_PROJECT_DIR}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:$APP_VERSION"
.angular_build: .angular_build:
extends: .default extends: .default
......
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