Skip to content
Snippets Groups Projects
Verified Commit 599ccdcb authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat: Add CI rules for optimised builds

parent 646fb3bb
No related branches found
No related tags found
No related merge requests found
Pipeline #19462 passed
...@@ -4,4 +4,18 @@ include: ...@@ -4,4 +4,18 @@ include:
container-build: container-build:
extends: .earthly-cloud extends: .earthly-cloud
script: script:
- earthly --use-inline-cache --save-inline-cache --ci --push +images - earthly --use-inline-cache --save-inline-cache --ci +images
\ No newline at end of file rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
variables:
EARTHLY_PUSH: "true"
changes:
paths:
- images/**/*
- if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
changes:
paths:
- images/**/*
compare_to: main
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