2024-12-19 17:34:32 +01:00
|
|
|
when:
|
|
|
|
- branch: main
|
|
|
|
event: push
|
|
|
|
|
|
|
|
|
|
|
|
variables:
|
|
|
|
- &file Dockerfile
|
|
|
|
- &repo git.jmbit.de/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
build:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2024-12-19 17:51:09 +01:00
|
|
|
privileged: true
|
2024-12-19 17:34:32 +01:00
|
|
|
dockerfile: *file
|
|
|
|
platforms: linux/arm64/v8,linux/amd64
|
|
|
|
repo: *repo
|
|
|
|
registry: git.jmbit.de
|
|
|
|
tags: latest
|
|
|
|
username: ${CI_REPO_OWNER}
|
|
|
|
password:
|
|
|
|
from_secret: forgejo_token
|
|
|
|
when:
|
|
|
|
event: push
|
|
|
|
|