Skip to content

Commit

Permalink
Publish only when merging to master
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Jan 11, 2024
1 parent 094d644 commit 97fce83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Docker build and publish

on: [push, pull_request]
on:
push:
branches: main

env:
ECR_REPO: 'public.ecr.aws/s5s3h4s7'
Expand Down

0 comments on commit 97fce83

Please sign in to comment.