This commit is contained in:
parent
02b85c7603
commit
c0177b3f8f
@ -11,7 +11,7 @@ variables:
|
|||||||
platforms: "linux/amd64,linux/arm64"
|
platforms: "linux/amd64,linux/arm64"
|
||||||
dockerfile: Dockerfile.multiarch
|
dockerfile: Dockerfile.multiarch
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
repo: woodpeckerci/plugin-docker-buildx,codeberg.org/woodpecker-plugins/docker-buildx
|
repo: registry.odit.services/library/docker-buildx
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
vendor:
|
vendor:
|
||||||
@ -37,33 +37,11 @@ steps:
|
|||||||
image: *build_plugin
|
image: *build_plugin
|
||||||
settings:
|
settings:
|
||||||
<<: *base_buildx_settings
|
<<: *base_buildx_settings
|
||||||
logins:
|
username:
|
||||||
# Default DockerHub login
|
from_secret: odit-registry-builder-username
|
||||||
- registry: https://index.docker.io/v1/
|
password:
|
||||||
username:
|
from_secret: odit-registry-builder-password
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
# Additional Codeberg login
|
|
||||||
- registry: https://codeberg.org
|
|
||||||
username:
|
|
||||||
from_secret: cb_username
|
|
||||||
password:
|
|
||||||
from_secret: cb_password
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [push, tag, cron]
|
event: [push, tag, cron]
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
# TODO: replace by plugin-ready-release-go once it supports gitea
|
|
||||||
gitea-release:
|
|
||||||
image: "woodpeckerci/plugin-gitea-release:0.3.1"
|
|
||||||
settings:
|
|
||||||
base_url: https://codeberg.org
|
|
||||||
title: ${CI_COMMIT_TAG}
|
|
||||||
api_key:
|
|
||||||
from_secret: gitea_token
|
|
||||||
target: main
|
|
||||||
when:
|
|
||||||
event: [tag]
|
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
|
Loading…
x
Reference in New Issue
Block a user