52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
when:
|
|
event:
|
|
- push
|
|
- pull_request
|
|
- manual
|
|
|
|
steps:
|
|
build-only:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME,,}
|
|
cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME,,}
|
|
registry: git.sebclem.fr
|
|
dry_run: true
|
|
logins:
|
|
- registry: https://git.sebclem.fr
|
|
username:
|
|
from_secret: docker_user
|
|
password:
|
|
from_secret: docker_token
|
|
when:
|
|
- event: push
|
|
branch: renovate/*
|
|
- event: pull_request
|
|
branch: renovate/*
|
|
- event: manual
|
|
branch: renovate/*
|
|
|
|
publish-dev:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
repo: git.sebclem.fr/sebclem/${CI_REPO_NAME,,}
|
|
cache_from: git.sebclem.fr/sebclem/${CI_REPO_NAME,,}
|
|
registry: git.sebclem.fr
|
|
tag: ${CI_COMMIT_BRANCH}
|
|
logins:
|
|
- registry: https://git.sebclem.fr
|
|
username:
|
|
from_secret: docker_user
|
|
password:
|
|
from_secret: docker_token
|
|
when:
|
|
- event: push
|
|
branch:
|
|
exclude: renovate/*
|
|
- event: pull_request
|
|
branch:
|
|
exclude: renovate/*
|
|
- event: manual
|
|
branch:
|
|
exclude: renovate/*
|