add registry: Aliyun(registry.cn-shenzhen.aliyuncs.com)
This commit is contained in:
10
.github/workflows/build-nightly-cron.yaml
vendored
10
.github/workflows/build-nightly-cron.yaml
vendored
@@ -316,6 +316,7 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{ env.DOCKERHUB_USER }}/${{ env.DOCKERHUB_REPOSITORY }}
|
${{ env.DOCKERHUB_USER }}/${{ env.DOCKERHUB_REPOSITORY }}
|
||||||
ghcr.io/${{ env.GHCR_USER }}/${{ env.GHCR_REPOSITORY }}
|
ghcr.io/${{ env.GHCR_USER }}/${{ env.GHCR_REPOSITORY }}
|
||||||
|
registry.cn-shenzhen.aliyuncs.com/spt-server/spt-server
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=nightly
|
type=raw,value=nightly
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
@@ -337,6 +338,15 @@ jobs:
|
|||||||
username: ${{ env.GHCR_USER }}
|
username: ${{ env.GHCR_USER }}
|
||||||
password: ${{ secrets.GHCR_TOKEN }}
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
|
|
||||||
|
# Aliyun Registry
|
||||||
|
- name: Login to Aliyun Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: registry.cn-shenzhen.aliyuncs.com
|
||||||
|
username: ${{ secrets.ALIYUN_REGISTRY_USER }}
|
||||||
|
password: ${{ secrets.ALIYUN_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
id: build-and-push
|
id: build-and-push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|||||||
9
.github/workflows/build-release-cron.yaml
vendored
9
.github/workflows/build-release-cron.yaml
vendored
@@ -316,6 +316,7 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{ env.DOCKERHUB_USER }}/${{ env.DOCKERHUB_REPOSITORY }}
|
${{ env.DOCKERHUB_USER }}/${{ env.DOCKERHUB_REPOSITORY }}
|
||||||
ghcr.io/${{ env.GHCR_USER }}/${{ env.GHCR_REPOSITORY }}
|
ghcr.io/${{ env.GHCR_USER }}/${{ env.GHCR_REPOSITORY }}
|
||||||
|
registry.cn-shenzhen.aliyuncs.com/spt-server/spt-server
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
type=semver,pattern={{version}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
||||||
type=semver,pattern={{major}}.{{minor}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
type=semver,pattern={{major}}.{{minor}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
||||||
@@ -327,6 +328,7 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{ env.DOCKERHUB_USER }}/${{ env.DOCKERHUB_REPOSITORY }}
|
${{ env.DOCKERHUB_USER }}/${{ env.DOCKERHUB_REPOSITORY }}
|
||||||
ghcr.io/${{ env.GHCR_USER }}/${{ env.GHCR_REPOSITORY }}
|
ghcr.io/${{ env.GHCR_USER }}/${{ env.GHCR_REPOSITORY }}
|
||||||
|
registry.cn-shenzhen.aliyuncs.com/spt-server/spt-server
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
type=semver,pattern={{version}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
||||||
type=semver,pattern={{major}}.{{minor}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
type=semver,pattern={{major}}.{{minor}},value=${{ needs.prepare.outputs.TARGET_TAG }}
|
||||||
@@ -350,6 +352,13 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ env.GHCR_USER }}
|
username: ${{ env.GHCR_USER }}
|
||||||
password: ${{ secrets.GHCR_TOKEN }}
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
|
# Aliyun Registry
|
||||||
|
- name: Login to Aliyun Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: registry.cn-shenzhen.aliyuncs.com
|
||||||
|
username: ${{ secrets.ALIYUN_REGISTRY_USER }}
|
||||||
|
password: ${{ secrets.ALIYUN_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Build and Push For BEM
|
- name: Build and Push For BEM
|
||||||
if: ${{ contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
if: ${{ contains(needs.prepare.outputs.TARGET_TAG, 'BEM') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user