From af6df89cdfe82a832572e8768c13e0557a87bf98 Mon Sep 17 00:00:00 2001 From: cavivie Date: Fri, 29 Mar 2024 14:55:10 +0800 Subject: [PATCH] Revert "fix: docker login right registry when non-pr (#2)" This reverts commit 167ba0fead3c4488e79f2c894ad2b435d3344cb8. --- .github/workflows/docker-publish.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 3e11769..239c11e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -11,9 +11,6 @@ on: pull_request: branches: [ "main" ] -env: - REGISTRY: 'ghcr.io' - jobs: build: runs-on: windows-2022 @@ -55,7 +52,6 @@ jobs: - name: Build and push docker image for win-dev-base uses: ./.github/actions/docker-build-push with: - registry: ${{ env.REGISTRY }} push: ${{ github.event_name != 'pull_request' }} tag: win-dev-base context: win-dev-base @@ -63,7 +59,6 @@ jobs: - name: Build and push docker image for win-dev-rust uses: ./.github/actions/docker-build-push with: - registry: ${{ env.REGISTRY }} push: ${{ github.event_name != 'pull_request' }} tag: win-dev-rust context: win-dev-rust @@ -71,7 +66,6 @@ jobs: - name: Build and push docker image for alrd-windows uses: ./.github/actions/docker-build-push with: - registry: ${{ env.REGISTRY }} push: ${{ github.event_name != 'pull_request' }} tag: alrd-windows context: win-alrd-rsxe @@ -79,7 +73,6 @@ jobs: - name: Build and push docker image for rsxe-windows uses: ./.github/actions/docker-build-push with: - registry: ${{ env.REGISTRY }} push: ${{ github.event_name != 'pull_request' }} tag: rsxe-windows context: win-alrd-rsxe