bookworm-git/.woodpecker.yaml

18 lines
594 B
YAML
Raw Permalink Normal View History

2024-06-15 23:31:46 +02:00
steps:
- name: Build and Publish Docker Image
2024-06-15 23:31:46 +02:00
when:
- branch: main
event: push
- event: tag
image: woodpeckerci/plugin-docker-buildx
settings:
2024-09-08 20:48:17 +02:00
platforms: linux/amd64,linux/arm64
repo: ${CI_REG_HOST}:${CI_REG_PORT}/${CI_REPO_OWNER}/${CI_REPO_NAME}
2024-06-15 23:31:46 +02:00
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"
2024-06-15 23:31:46 +02:00
username:
from_secret: CI_REG_USER
2024-06-15 23:31:46 +02:00
password:
from_secret: CI_REG_TOKEN