push test images to ghcr.io/shenxn/protonmail-bridge-dev

This commit is contained in:
Simon Ungar Felding 2025-04-24 20:58:23 +02:00
parent a7fcf0fd88
commit 6e7290efd3

View File

@ -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' }}