From a875272518d8e573dc3e8f37af07a62df164487e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=8F=AF?= Date: Wed, 8 Feb 2023 10:17:31 +0800 Subject: [PATCH] fix: release push docker image (#358) --- .github/workflows/release.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97bec27cf..604e09de6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,12 +53,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Log in to the Container registry - uses: docker/login-action@v2.1.0 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - name: image_name run: echo ${{ env.IMAGE_NAME }} - name: Extract metadata (tags, labels) for Docker @@ -81,5 +75,5 @@ jobs: addLatest: true directory: dist dockerfile: ./cmd/juno-admin/Dockerfile - username: ${{ secrets.GHCR_USERNAME }} - password: ${{ secrets.GHCR_TOKEN }} \ No newline at end of file + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file