From 6e7290efd3264cabb3ac228716876f1f43992d1d Mon Sep 17 00:00:00 2001 From: Simon Ungar Felding <45149055+simonfelding@users.noreply.github.com> Date: Thu, 24 Apr 2025 20:58:23 +0200 Subject: [PATCH] push test images to ghcr.io/shenxn/protonmail-bridge-dev --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 623b763..01a531c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -77,7 +77,7 @@ jobs: password: ${{ secrets.REGISTRY_PASSWORD }} - name: Login to GitHub Container Registry uses: docker/login-action@v1 - if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/dev' }} + if: ${{ github.event_name == 'pull_request' }} with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -100,6 +100,6 @@ jobs: file: ./build/Dockerfile platforms: ${{ env.PLATFORMS }} tags: | - ${{ steps.repo.outputs.repo }}:pr-${{ github.head_ref }} + ${{ steps.repo.outputs.repo }}:${{ github.head_ref }} labels: ${{ steps.docker_meta.outputs.labels }} push: ${{ github.event_name == 'pull_request' }}