galaeth-draft/.woodpecker.yml

19 lines
591 B
YAML
Raw Permalink Normal View History

2024-11-17 14:52:35 +01:00
when:
- event: [push, tag, pull_request_closed]
branch: main
steps:
- name: Build and Publish Docker Image
image: woodpeckerci/plugin-docker-buildx:4.2
settings:
2024-11-17 15:04:02 +01:00
platforms: linux/amd64,linux/arm64
2024-11-17 14:52:35 +01:00
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: CI_REG_USER
password:
from_secret: CI_REG_TOKEN