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