Update .gitea/workflows/harbor-build-deploy.yml
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user