fix: update workflow to support homolog branch
Some checks failed
Build (develop) / Promote (main) / build-and-push-deploy (push) Failing after 25s
Some checks failed
Build (develop) / Promote (main) / build-and-push-deploy (push) Failing after 25s
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
||||
LEGACY_USER="${HARBOR_LEGACY_USERNAME:-$PROD_USER}"
|
||||
LEGACY_PASS="${HARBOR_LEGACY_PASSWORD:-$PROD_PASS}"
|
||||
|
||||
if [ "$BRANCH" = "develop" ]; then
|
||||
if [ "$BRANCH" = "develop" ] || [ "$BRANCH" = "homolog" ]; then
|
||||
TAG=$(echo ${{ gitea.sha }} | cut -c1-7)
|
||||
|
||||
echo "$DEV_PASS" | docker login "$REGISTRY" -u "$DEV_USER" --password-stdin
|
||||
|
||||
Reference in New Issue
Block a user