Update .gitea/workflows/harbor-build-deploy.yml

This commit is contained in:
2026-02-09 04:28:14 +00:00
parent c56ae1b9d3
commit f5556870b2

View File

@@ -23,7 +23,7 @@ on:
type: string type: string
default: linux/amd64,linux/arm64 default: linux/amd64,linux/arm64
# IMPORTANT CHANGE # IMPORTANT CHANGE
deploy_runners_json: deploy_runners_json:
description: 'JSON array of runner labels' description: 'JSON array of runner labels'
type: string type: string
@@ -45,7 +45,7 @@ on:
jobs: jobs:
# ========================================================== # ==========================================================
# 1 BUILD ONCE (single powerful runner) # BUILD ONCE (single powerful runner)
# ========================================================== # ==========================================================
build_and_push: build_and_push:
name: 🏗 Build & Push Image name: 🏗 Build & Push Image
@@ -80,7 +80,7 @@ jobs:
username: ${{ secrets.HARBOR_PUSH_USERNAME }} username: ${{ secrets.HARBOR_PUSH_USERNAME }}
password: ${{ secrets.HARBOR_PUSH_PASSWORD }} password: ${{ secrets.HARBOR_PUSH_PASSWORD }}
# 🚀 Cached multi-platform build # Cached multi-platform build
- name: Build & Push Image - name: Build & Push Image
id: build id: build
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
@@ -100,7 +100,7 @@ jobs:
# ========================================================== # ==========================================================
# 2 DEPLOY MANY (fan-out runners) # DEPLOY MANY (fan-out runners)
# ========================================================== # ==========================================================
deploy: deploy:
name: 🚀 Deploy to Fleet name: 🚀 Deploy to Fleet