CI: Limit when to run Docker build jobs.

This commit is contained in:
Joachim Bauch 2024-04-03 10:38:29 +02:00
parent 8d60f81969
commit ec96256f29
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -3,8 +3,24 @@ name: Docker image
on:
pull_request:
branches: [ master ]
paths:
- '.github/workflows/docker.yml'
- '**.go'
- 'go.*'
- 'Makefile'
- '*.conf.in'
- 'docker/server/*'
- 'docker/proxy/*'
push:
branches: [ master ]
paths:
- '.github/workflows/docker.yml'
- '**.go'
- 'go.*'
- 'Makefile'
- '*.conf.in'
- 'docker/server/*'
- 'docker/proxy/*'
permissions:
contents: read