add restriction to master branch on docker push job
This commit is contained in:
parent
7c8072b295
commit
ce4441cee3
@ -8,6 +8,7 @@ env:
|
||||
jobs:
|
||||
build-docker-image:
|
||||
runs-on: ubuntu-latest
|
||||
if: gitea.ref == 'refs/heads/master'
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
Loading…
Reference in New Issue
Block a user