Refactor woodpecker config to allow selective container builds
This commit is contained in:
@@ -1,47 +1,17 @@
|
|||||||
when:
|
when:
|
||||||
- event: [tag, manual, deployment]
|
- event: deployment
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-radicale-ldap
|
- name: build
|
||||||
image: woodpeckerci/plugin-docker-buildx:6.1.1
|
image: woodpeckerci/plugin-docker-buildx:6.1.1
|
||||||
settings:
|
settings:
|
||||||
registry: registry.apps.millslan.net
|
registry: registry.apps.millslan.net
|
||||||
repo: registry.apps.millslan.net/garrettmills/radicale-ldap
|
repo: registry.apps.millslan.net/garrettmills/${CI_PIPELINE_DEPLOY_TARGET}
|
||||||
tags: latest
|
tags: latest
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
context: radicale-ldap
|
context: ${CI_PIPELINE_DEPLOY_TARGET}
|
||||||
dockerfile: radicale-ldap/Dockerfile
|
dockerfile: ${CI_PIPELINE_DEPLOY_TARGET}/Dockerfile
|
||||||
username:
|
username:
|
||||||
from_secret: registry_username
|
from_secret: registry_username
|
||||||
password:
|
password:
|
||||||
from_secret: registry_password
|
from_secret: registry_password
|
||||||
depends_on: []
|
|
||||||
|
|
||||||
- name: build-jump-box
|
|
||||||
image: woodpeckerci/plugin-docker-buildx:6.1.1
|
|
||||||
settings:
|
|
||||||
registry: registry.apps.millslan.net
|
|
||||||
repo: registry.apps.millslan.net/garrettmills/jump-box
|
|
||||||
tags: latest
|
|
||||||
platforms: linux/amd64
|
|
||||||
context: jump-box
|
|
||||||
dockerfile: jump-box/Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: registry_username
|
|
||||||
password:
|
|
||||||
from_secret: registry_password
|
|
||||||
depends_on: []
|
|
||||||
|
|
||||||
- name: build-wireguard-sidecar
|
|
||||||
image: woodpeckerci/plugin-docker-buildx:6.1.1
|
|
||||||
settings:
|
|
||||||
registry: registry.apps.millslan.net
|
|
||||||
repo: registry.apps.millslan.net/garrettmills/wireguard-sidecar
|
|
||||||
tags: latest
|
|
||||||
platforms: linux/amd64
|
|
||||||
context: wireguard-sidecar
|
|
||||||
dockerfile: wireguard-sidecar/Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: registry_username
|
|
||||||
password:
|
|
||||||
from_secret: registry_password
|
|
||||||
depends_on: []
|
|
||||||
|
|||||||
Reference in New Issue
Block a user