From e5a8f3875a592e349d2e3559e38e09fb05b416e8 Mon Sep 17 00:00:00 2001 From: mike Date: Thu, 20 Jun 2024 16:20:42 +0200 Subject: [PATCH] Update .woodpecker.yaml to new template --- .woodpecker.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 5ff0565..0c36d30 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,5 +1,5 @@ steps: - - name: Build and Publish + - name: Build and Publish Docker Image when: - branch: main event: push @@ -7,10 +7,12 @@ steps: image: woodpeckerci/plugin-docker-buildx settings: platforms: linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64 - repo: forge.alveus.dev/${CI_REPO_OWNER}/${CI_REPO_NAME} - registry: forge.alveus.dev + repo: ${CI_REG_HOST}:${CI_REG_PORT}/${CI_REPO_OWNER}/${CI_REPO_NAME} tags: latest + registry: http://${CI_REG_HOST}:${CI_REG_PORT} + insecure: true + buildkit_config: "[registry.\"${CI_REG_HOST}:${CI_REG_PORT}\"]\n http = true\n insecure = true" username: - from_secret: REGISTRY_USER + from_secret: CI_REG_USER password: - from_secret: REGISTRY_TOKEN + from_secret: CI_REG_TOKEN \ No newline at end of file