fix: update Woodpecker CI syntax to new format
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Fixes: ✅ pipeline: → steps: (deprecated) ✅ secrets: → environment: with from_secret (deprecated) Now compatible with latest Woodpecker!
This commit is contained in:
@@ -8,7 +8,7 @@ variables:
|
|||||||
when:
|
when:
|
||||||
- event: [push, pull_request, tag, manual]
|
- event: [push, pull_request, tag, manual]
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
# ============================================
|
# ============================================
|
||||||
# Ensure Base Image Exists
|
# Ensure Base Image Exists
|
||||||
# ============================================
|
# ============================================
|
||||||
@@ -145,7 +145,12 @@ pipeline:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
secrets: [HARBOR_USERNAME, HARBOR_PASSWORD]
|
environment:
|
||||||
|
HARBOR_USERNAME:
|
||||||
|
from_secret: HARBOR_USERNAME
|
||||||
|
HARBOR_PASSWORD:
|
||||||
|
from_secret: HARBOR_PASSWORD
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
branch: [main, develop, feature/restructure-project]
|
branch: [main, develop, feature/restructure-project]
|
||||||
|
|||||||
Reference in New Issue
Block a user