Update .woodpecker.yaml to new template
This commit is contained in:
parent
f33e7a67c9
commit
e5a8f3875a
|
@ -1,5 +1,5 @@
|
||||||
steps:
|
steps:
|
||||||
- name: Build and Publish
|
- name: Build and Publish Docker Image
|
||||||
when:
|
when:
|
||||||
- branch: main
|
- branch: main
|
||||||
event: push
|
event: push
|
||||||
|
@ -7,10 +7,12 @@ steps:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
platforms: linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64
|
platforms: linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64
|
||||||
repo: forge.alveus.dev/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
repo: ${CI_REG_HOST}:${CI_REG_PORT}/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||||
registry: forge.alveus.dev
|
|
||||||
tags: latest
|
tags: latest
|
||||||
|
registry: http://${CI_REG_HOST}:${CI_REG_PORT}
|
||||||
|
insecure: true
|
||||||
|
buildkit_config: "[registry.\"${CI_REG_HOST}:${CI_REG_PORT}\"]\n http = true\n insecure = true"
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USER
|
from_secret: CI_REG_USER
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_TOKEN
|
from_secret: CI_REG_TOKEN
|
Loading…
Reference in a new issue