build pr images too

This commit is contained in:
Simon Ungar Felding 2025-04-24 20:51:44 +02:00
parent 3e0cc0ff8d
commit a7fcf0fd88
2 changed files with 15 additions and 20 deletions

View file

@ -93,3 +93,13 @@ jobs:
${{ steps.repo.outputs.repo }}:${{ steps.version.outputs.version }}-build
labels: ${{ steps.docker_meta.outputs.labels }}
push: ${{ github.event_name != 'pull_request' }}
- name: Push test-image
uses: docker/build-push-action@v2
with:
context: ./build
file: ./build/Dockerfile
platforms: ${{ env.PLATFORMS }}
tags: |
${{ steps.repo.outputs.repo }}:pr-${{ github.head_ref }}
labels: ${{ steps.docker_meta.outputs.labels }}
push: ${{ github.event_name == 'pull_request' }}