Only build container image for source changes

This commit is contained in:
Alex Palaistras 2024-04-08 23:41:58 +01:00
parent 9607a8c0f9
commit 66cee39bb1
1 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
name: Grawkit Play Container Build
on: push
on:
push:
paths:
- 'grawkit'
- 'play/**'
env:
CONTAINER_NAME: ${{ github.repository_owner }}/grawkit-play
CONTAINER_TAG: latest
@ -31,4 +35,4 @@ jobs:
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
- name: Print container image URL
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
run: echo "Image pushed to ${{ steps.push-to-registry.outputs.registry-paths }}"