Woodpecker CI docker-combine: Hoist docker_settings anchor
This commit is contained in:
parent
95a33855d1
commit
cafd75b072
1 changed files with 5 additions and 11 deletions
|
|
@ -20,7 +20,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
settings:
|
settings: &docker_settings
|
||||||
registry: "git.pleroma.social"
|
registry: "git.pleroma.social"
|
||||||
image: "pleroma/pleroma"
|
image: "pleroma/pleroma"
|
||||||
architectures: [amd64, arm64]
|
architectures: [amd64, arm64]
|
||||||
|
|
@ -39,18 +39,12 @@ steps:
|
||||||
- event: push
|
- event: push
|
||||||
branch: stable
|
branch: stable
|
||||||
- evaluate: 'CI_PIPELINE_EVENT == "manual" && CI_COMMIT_BRANCH == "stable" && CI_COMMIT_TAG == ""'
|
- evaluate: 'CI_PIPELINE_EVENT == "manual" && CI_COMMIT_BRANCH == "stable" && CI_COMMIT_TAG == ""'
|
||||||
settings: &docker_settings
|
settings:
|
||||||
registry: "git.pleroma.social"
|
<<: *docker_settings
|
||||||
image: "pleroma/pleroma"
|
tags: &stable_docker_tags
|
||||||
architectures: [amd64, arm64]
|
|
||||||
tags: &docker_tags
|
|
||||||
- latest
|
- latest
|
||||||
- stable
|
- stable
|
||||||
- ${CI_COMMIT_SHA:0:8}
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
username:
|
|
||||||
from_secret: pleroma-ci-user
|
|
||||||
password:
|
|
||||||
from_secret: pleroma-ci-password
|
|
||||||
|
|
||||||
docker-stable-tag-combine:
|
docker-stable-tag-combine:
|
||||||
image: git.fluffytail.org/phnt/wpc-docker-tagger:latest
|
image: git.fluffytail.org/phnt/wpc-docker-tagger:latest
|
||||||
|
|
@ -60,5 +54,5 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
<<: *docker_settings
|
<<: *docker_settings
|
||||||
tags:
|
tags:
|
||||||
- <<: *docker_tags
|
- <<: *stable_docker_tags
|
||||||
- ${CI_COMMIT_TAG}
|
- ${CI_COMMIT_TAG}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue