18 lines
662 B
YAML
18 lines
662 B
YAML
steps:
|
|
publish:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
#platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x
|
|
platforms: linux/amd64 #,linux/arm64
|
|
repo: ${CI_FORGE_URL:8}/${CI_REPO_OWNER,,}/${CI_REPO_NAME,,} # lowercase
|
|
registry: ${CI_FORGE_URL:8} # url of gitea, minus the https://
|
|
tags:
|
|
- ${CI_COMMIT_SHA:0:8} # first 8 characters of var
|
|
- rolling
|
|
- rolling-${CI_COMMIT_SHA:0:8}
|
|
username: ${CI_REPO_OWNER,,} # lowercase username
|
|
password:
|
|
from_secret: registry_token
|
|
when:
|
|
event: [push, manual]
|
|
branch: main |