2023-08-06 13:51:16 +02:00
|
|
|
# Build and publish Docker images for multible architectures.
|
|
|
|
#
|
|
|
|
# Pushing an image to codeberg as container registry,
|
|
|
|
# package owner will be the repo owner.
|
|
|
|
#
|
|
|
|
# this config also shows usage of yaml aliases and
|
|
|
|
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
|
|
|
|
|
|
|
|
when:
|
|
|
|
branch: main
|
|
|
|
|
|
|
|
steps:
|
2023-09-19 15:02:34 +02:00
|
|
|
build-container:
|
2023-08-07 19:45:13 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dockerfile: builder/Dockerfile
|
|
|
|
platforms: linux/arm64/v8,linux/amd64
|
|
|
|
repo: git.jmbit.de/filegate/utility-containers
|
|
|
|
registry: git.jmbit.de
|
|
|
|
tags:
|
|
|
|
- vm-builder-latest
|
|
|
|
- vm-builder
|
|
|
|
username: jmb
|
|
|
|
password:
|
|
|
|
from_secret: forgejo_token
|
|
|
|
when:
|
|
|
|
event: push
|
2023-08-06 13:51:16 +02:00
|
|
|
|