Commit e8154f4d authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

Merge branch 'rules-ci' into 'master'

ci: switch to using rules

See merge request !63
parents 44f53de9 68b90a7e
Pipeline #101035 failed with stages
in 0 seconds
......@@ -10,8 +10,8 @@ stages:
.build:
stage: build
only:
changes:
rules:
- changes:
- Dockerfile.in
- make_images.sh
- entrypoint.sh
......@@ -45,11 +45,12 @@ build-edge:
.push:
stage: push
only:
changes:
- Dockerfile.in
- make_images.sh
- entrypoint.sh
rules:
- if: '$CI_PROJECT_PATH == "alpine/docker-abuild" && $CI_COMMIT_BRANCH == "master"'
changes:
- Dockerfile.in
- make_images.sh
- entrypoint.sh
push-v3.8:
extends: .push
......@@ -82,11 +83,12 @@ push-edge:
stage: manifest
variables:
DOCKER_CLI_EXPERIMENTAL: enabled
only:
changes:
- Dockerfile.in
- make_images.sh
- entrypoint.sh
rules:
- if: '$CI_PROJECT_PATH == "alpine/docker-abuild" && $CI_COMMIT_BRANCH == "master"'
changes:
- Dockerfile.in
- make_images.sh
- entrypoint.sh
manifest-v3.8:
extends: .manifest
......@@ -119,9 +121,10 @@ cleanup:
stage: cleanup
script:
- docker system prune --force
only:
changes:
- Dockerfile.in
- make_images.sh
- entrypoint.sh
rules:
- if: '$CI_PROJECT_PATH == "alpine/docker-abuild" && $CI_COMMIT_BRANCH == "master"'
changes:
- Dockerfile.in
- make_images.sh
- entrypoint.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment