mirror of https://github.com/deuill/grawkit.git
Only build container image for source changes
This commit is contained in:
parent
9607a8c0f9
commit
66cee39bb1
|
@ -1,5 +1,9 @@
|
||||||
name: Grawkit Play Container Build
|
name: Grawkit Play Container Build
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'grawkit'
|
||||||
|
- 'play/**'
|
||||||
env:
|
env:
|
||||||
CONTAINER_NAME: ${{ github.repository_owner }}/grawkit-play
|
CONTAINER_NAME: ${{ github.repository_owner }}/grawkit-play
|
||||||
CONTAINER_TAG: latest
|
CONTAINER_TAG: latest
|
||||||
|
@ -31,4 +35,4 @@ jobs:
|
||||||
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
|
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
||||||
- name: Print container image URL
|
- 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 }}"
|
||||||
|
|
Loading…
Reference in New Issue