From 9bb583fa90da1b87e086afe6b950aea473a649e1 Mon Sep 17 00:00:00 2001 From: Nate Goldsborough Date: Thu, 1 Sep 2022 13:42:14 -0500 Subject: [PATCH] Only publish on push to master --- .github/workflows/publish-docker-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml index 3cd47ad..a52f26e 100644 --- a/.github/workflows/publish-docker-image.yml +++ b/.github/workflows/publish-docker-image.yml @@ -1,5 +1,7 @@ name: Publish Docker image to GitHub Package Registry -on: push +on: + push: + branches: [ "master" ] jobs: build: runs-on: ubuntu-latest