diff --git a/.woodpecker/.container.yml b/.woodpecker/.container.yml new file mode 100644 index 0000000..c39c9e0 --- /dev/null +++ b/.woodpecker/.container.yml @@ -0,0 +1,18 @@ +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 \ No newline at end of file