From dae8e25bda33c63a8031112bfb5d770d87cb4275 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 25 Jun 2026 23:17:09 -0700 Subject: [PATCH] fix(.woodpecker.yml): add DOCKER_MANAGER_IP and WOODPECKER_HOST to step secrets lists --- .woodpecker.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e7846d2..29a28b1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -104,6 +104,7 @@ steps: done secrets: - ssh_key + - DOCKER_MANAGER_IP - 3dprint_db_password - ai_aws_access_key_id - ai_aws_secret_access_key @@ -177,7 +178,9 @@ steps: "bash /volume1/docker/compose-files/deploy/stack-deploy.sh $STACK" \ && echo " OK $STACK" || { echo " FAIL $STACK"; exit 1; } done - secrets: [ ssh_key ] + secrets: + - ssh_key + - DOCKER_MANAGER_IP verify: image: alpine:latest @@ -198,7 +201,9 @@ steps: "docker stack ps $STACK --filter desired-state=running \ --format ' {{.Name}} {{.CurrentState}}'" done - secrets: [ ssh_key ] + secrets: + - ssh_key + - DOCKER_MANAGER_IP notify-success: image: alpine:latest @@ -219,6 +224,8 @@ steps: - | PAYLOAD=$(printf '{"title":"Swarm Deploy FAILED","text":"Commit: %s See: https://${WOODPECKER_HOST}","themeColor":"ff0000"}' "$CI_COMMIT_MESSAGE") curl -sf -X POST -H 'Content-Type: application/json' -d "$PAYLOAD" "$TEAMS_WEBHOOK" || true - secrets: [ teams_webhook ] + secrets: + - teams_webhook + - WOODPECKER_HOST when: - status: failure