27 lines
764 B
YAML
27 lines
764 B
YAML
# 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/37e29c227717c1c07d2776cddcf147
|
|
# 25bf952875/.woodpecker/hello.yml
|
|
|
|
when:
|
|
branch: debian-desktop
|
|
|
|
steps:
|
|
build-container:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
platforms: linux/arm64/v8,linux/amd64
|
|
repo: git.jmbit.de/jmb/webtop-plus
|
|
registry: git.jmbit.de
|
|
tags:
|
|
- debian-desktop-latest
|
|
- debian-desktop-${CI_COMMIT_REF}
|
|
username: jmb
|
|
password:
|
|
from_secret: forgejo_token
|