2023-09-18 19:47:07 +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-18 19:49:57 +02:00
|
|
|
build:
|
2023-09-18 19:47:07 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2023-09-18 19:57:06 +02:00
|
|
|
dockerfile: Dockerfile
|
|
|
|
platforms: linux/amd64
|
2023-09-18 19:47:07 +02:00
|
|
|
repo: git.jmbit.de/jmb/remnux-docker
|
|
|
|
registry: git.jmbit.de
|
|
|
|
tags:
|
2023-09-18 19:57:06 +02:00
|
|
|
- latest
|
2023-09-18 19:47:07 +02:00
|
|
|
username: jmb
|
|
|
|
password:
|
|
|
|
from_secret: forgejo_token
|
|
|
|
when:
|
|
|
|
event: push
|