Skip to content
Snippets Groups Projects
Commit 20153466 authored by (INACTIVE) Marcel Bajdel (new marcel.bajdel)'s avatar (INACTIVE) Marcel Bajdel (new marcel.bajdel) :rocket:
Browse files

rules adjusted

parent 408e7e3d
No related branches found
No related tags found
3 merge requests!20Release,!13Docker image branch,!12Docker image branch
......@@ -37,11 +37,14 @@ build_branch:
- if [ "$DOCKER_LATEST_IMAGE_EXISTS" == "false" ]; then /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH; else echo "Docker image already exists or no relevant changes"; fi
rules:
- exists:
- $CI_COMMIT_BRANCH
- CI_COMMIT_BRANCH
- changes:
- README.md
when: never
- changes:
- '*'
except:
- README.md
build_main: # This build will run only for main branch
......
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