From 0372feca1868ac371160950d163ac165a2563c19 Mon Sep 17 00:00:00 2001 From: Joshua Su Date: Sat, 27 Apr 2024 19:21:48 +0800 Subject: [PATCH] chore(ci): push image to redrock's own registery --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 46d8ddb..7c3ec1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,6 +60,12 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + - name: Log in to Redrock Registry + uses: docker/login-action@v3 + with: + registry: reg.redrock.team + username: ${{ secrets.REDROCK_USERNAME }} + password: ${{ secrets.REDROCK_PASSWORD }} - name: Build and Push Image uses: docker/build-push-action@v5 with: @@ -71,3 +77,5 @@ jobs: ghcr.io/cquptmirror/redlens:${{ contains(github.ref, 'pre') && 'dev' || 'latest' }} cquptmirror/redlens:${{ github.ref_name }} cquptmirror/redlens:${{ contains(github.ref, 'pre') && 'dev' || 'latest' }} + reg.redrock.team/mirror/redlens:${{ github.ref_name }} + reg.redrock.team/mirror/redlens:${{ contains(github.ref, 'pre') && 'dev' || 'latest' }}