Add Harbor login to deploy step so cross-node pull auth propagates to dev2
continuous-integration/drone/push Build is passing
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
continuous-integration/drone/push Build is passing
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
This commit is contained in:
+14
@@ -132,6 +132,20 @@ steps:
|
|||||||
echo "Image verified : $$IMAGE"
|
echo "Image verified : $$IMAGE"
|
||||||
|
|
||||||
|
|
||||||
|
# ========================================================
|
||||||
|
# HARBOR LOGIN
|
||||||
|
#
|
||||||
|
# Zaroori hai taaki --with-registry-auth worker node (dev2) ko
|
||||||
|
# valid Harbor credentials propagate kare — warna cross-node pull
|
||||||
|
# "No such image" / "no basic auth credentials" se fail hota hai.
|
||||||
|
# ========================================================
|
||||||
|
|
||||||
|
echo 'QVgW5QbqlKKtBU2dYApTY28Dd6J36GK3' | \
|
||||||
|
docker login harbor.lincpay:8082 \
|
||||||
|
-u 'robot$lincpay+drone' \
|
||||||
|
--password-stdin
|
||||||
|
|
||||||
|
|
||||||
# ========================================================
|
# ========================================================
|
||||||
# EXISTING SERVICE
|
# EXISTING SERVICE
|
||||||
# ========================================================
|
# ========================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user