Update .woodpecker.yaml to new template

This commit is contained in:
mike 2024-06-20 16:20:42 +02:00
parent f33e7a67c9
commit e5a8f3875a

View file

@ -1,5 +1,5 @@
steps:
- name: Build and Publish
- name: Build and Publish Docker Image
when:
- branch: main
event: push
@ -7,10 +7,12 @@ steps:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64
repo: forge.alveus.dev/${CI_REPO_OWNER}/${CI_REPO_NAME}
registry: forge.alveus.dev
repo: ${CI_REG_HOST}:${CI_REG_PORT}/${CI_REPO_OWNER}/${CI_REPO_NAME}
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:
from_secret: REGISTRY_USER
from_secret: CI_REG_USER
password:
from_secret: REGISTRY_TOKEN
from_secret: CI_REG_TOKEN