From 97fce837e18d9a3ec3e6d74fd07ad5944049f1b3 Mon Sep 17 00:00:00 2001 From: "kennsippell@gmail.com" Date: Thu, 11 Jan 2024 13:22:22 -0600 Subject: [PATCH] Publish only when merging to master --- .github/workflows/docker-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 037fdadb..4216bd71 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,6 +1,8 @@ name: Docker build and publish -on: [push, pull_request] +on: + push: + branches: main env: ECR_REPO: 'public.ecr.aws/s5s3h4s7'