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

Update ci-templates/build.yml to run the pipeline to tag "latest" docker image in main

parent c590fcbb
No related branches found
No related tags found
No related merge requests found
Pipeline #7238 passed
......@@ -19,7 +19,7 @@
- |
if [ "$CI_COMMIT_REF_NAME" = "main" ]; then
echo "Pushing Docker image with tag 'latest'"
/kaniko/executor --context "${CI_PROJECT_DIR}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:latest"
/kaniko/executor --context "${CI_PROJECT_DIR}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:latest" --cache=true --cache-repo "${CI_REGISTRY_IMAGE}:$APP_VERSION"
fi
.angular_build:
......
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