From ce4441cee3a669d778e1c87617a8f6bd299722bb Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sat, 17 Jun 2023 01:22:53 +0200 Subject: [PATCH] add restriction to master branch on docker push job --- .gitea/workflows/docker-build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/docker-build.yaml b/.gitea/workflows/docker-build.yaml index 995fa23..d7dbeac 100644 --- a/.gitea/workflows/docker-build.yaml +++ b/.gitea/workflows/docker-build.yaml @@ -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