ci: route images by workflow host
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -13,7 +13,7 @@ on:
|
||||
- .github/workflows/bridge-proxy.yml
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
REGISTRY: ${{ github.server_url == 'https://github.com' && 'ghcr.io' || 'git.ipao.vip' }}
|
||||
IMAGE_NAME: ${{ github.repository }}/bridge-proxy
|
||||
|
||||
jobs:
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to GHCR
|
||||
- name: Log in to container registry
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user