Skip to content

Commit 0372fec

Browse files
committed
chore(ci): push image to redrock's own registery
1 parent fe28cac commit 0372fec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ jobs:
6060
with:
6161
username: ${{ secrets.DOCKER_USERNAME }}
6262
password: ${{ secrets.DOCKER_PASSWORD }}
63+
- name: Log in to Redrock Registry
64+
uses: docker/login-action@v3
65+
with:
66+
registry: reg.redrock.team
67+
username: ${{ secrets.REDROCK_USERNAME }}
68+
password: ${{ secrets.REDROCK_PASSWORD }}
6369
- name: Build and Push Image
6470
uses: docker/build-push-action@v5
6571
with:
@@ -71,3 +77,5 @@ jobs:
7177
ghcr.io/cquptmirror/redlens:${{ contains(github.ref, 'pre') && 'dev' || 'latest' }}
7278
cquptmirror/redlens:${{ github.ref_name }}
7379
cquptmirror/redlens:${{ contains(github.ref, 'pre') && 'dev' || 'latest' }}
80+
reg.redrock.team/mirror/redlens:${{ github.ref_name }}
81+
reg.redrock.team/mirror/redlens:${{ contains(github.ref, 'pre') && 'dev' || 'latest' }}

0 commit comments

Comments
 (0)