Skip to content

Commit 1bfd4b7

Browse files
authored
chore: push oras to aliyun registry (#15)
Co-authored-by: Rick <[email protected]>
1 parent 5d18d2c commit 1bfd4b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
env:
1111
REGISTRY: ghcr.io
1212
REGISTRY_DOCKERHUB: docker.io
13+
REGISTRY_ALIYUN: registry.aliyuncs.com
1314
IMAGE_NAME: ${{ github.repository }}
1415

1516
jobs:
@@ -52,6 +53,7 @@ jobs:
5253
run: |
5354
docker login --username linuxsuren --password ${{secrets.DOCKER_HUB_PUBLISH_SECRETS}}
5455
docker login ${{ env.REGISTRY }}/linuxsuren --username linuxsuren --password ${{secrets.GH_PUBLISH_SECRETS}}
56+
docker login ${{ env.REGISTRY_ALIYUN }}/linuxsuren --username ${{ secrets.REGISTRY_ALIYUN_USER }} --password ${{secrets.REGISTRY_ALIYUN_PUBLISH_SECRETS}}
5557
- name: Run GoReleaser
5658
uses: goreleaser/goreleaser-action@v6
5759
with:
@@ -65,6 +67,7 @@ jobs:
6567
cd dist
6668
oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-orm:${TAG#v} */*
6769
oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-orm:${TAG#v} */*
70+
oras push ${{ env.REGISTRY_ALIYUN }}/linuxsuren/atest-ext-store-orm:${TAG#v} */*
6871
6972
image:
7073
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)