From 2d48254d579be86d7c425e20a1168bf4fb10a0f2 Mon Sep 17 00:00:00 2001 From: Gapodo Date: Tue, 1 Nov 2022 02:54:27 +0100 Subject: [PATCH] another testbuild... --- .woodpecker/build.yml | 73 ++++++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 295f7f3..b785d23 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -14,41 +14,42 @@ pipeline: commands: - env - echo ${CI_COMMIT_BRANCH} + - echo ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:8} - # publish-docker-branch-image: - # group: build - # image: woodpeckerci/plugin-docker-buildx - # settings: - # repo: git.kle.li/${CI_REPO} - # platforms: linux/amd64 - # tag: ${CI_COMMIT_BRANCH} - # dockerfile: Dockerfile - # registry: git.kle.li - # username: - # from_secret: gitea_user - # password: - # from_secret: gitea_token - # when: - # branch: [main, test, dev, release/*] - # path: - # exclude: ["*.md", "docs/**"] - # ignore_message: "[FORCE CI]" + publish-docker-branch-image: + group: build + image: woodpeckerci/plugin-docker-buildx + settings: + repo: git.kle.li/${CI_REPO} + platforms: linux/amd64 + tags: ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:8} + dockerfile: Dockerfile + registry: git.kle.li + username: + from_secret: gitea_user + password: + from_secret: gitea_token + when: + branch: [main, test, dev, release/*] + path: + exclude: ["*.md", "docs/**"] + ignore_message: "[FORCE CI]" - # publish-docker-tag-image: - # group: build - # image: woodpeckerci/plugin-docker-buildx - # settings: - # repo: git.kle.li/${CI_REPO} - # platforms: linux/amd64 - # tag: ${CI_COMMIT_TAG} - # dockerfile: Dockerfile - # registry: git.kle.li - # username: - # from_secret: gitea_user - # password: - # from_secret: gitea_token - # when: - # event: tag - # path: - # exclude: ["*.md", "docs/**"] - # ignore_message: "[FORCE CI]" + publish-docker-tag-image: + group: build + image: woodpeckerci/plugin-docker-buildx + settings: + repo: git.kle.li/${CI_REPO} + platforms: linux/amd64 + tag: ${CI_COMMIT_TAG} + dockerfile: Dockerfile + registry: git.kle.li + username: + from_secret: gitea_user + password: + from_secret: gitea_token + when: + event: tag + path: + exclude: ["*.md", "docs/**"] + ignore_message: "[FORCE CI]"