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

Merge branch 'docker_image_branch' into 'develop'

Deleting rules to run at every action

See merge request !10
parents e15a1269 2f7812ae
No related branches found
No related tags found
3 merge requests!20Release,!11Develop,!10Deleting rules to run at every action
......@@ -19,9 +19,6 @@ initial_build:
# if the image does not exist, build it
- if $DOCKER_LATEST_IMAGE_EXISTS=false; then /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest; else echo "Docker image already exists"; fi
rules: # if the image is pushed into main branch, the build_main job will run
- if: $CI_COMMIT_BRANCH
changes:
- "**/*"
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
when: never
......@@ -83,9 +80,6 @@ test_latest: # This test will run only for tag latest
paths:
- test_latest.log
rules:
- if: $CI_COMMIT_BRANCH
changes:
- "**/*"
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
when: never
......
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