Skip to content

Commit

Permalink
Update GitHub actions workflow to trigger build/deploy only when rele…
Browse files Browse the repository at this point in the history
…ase is published
  • Loading branch information
michaeljcollinsuk committed Mar 18, 2024
1 parent 937343d commit a6e72ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-and-push-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Run tests and push Docker image on success
branches: [main]
pull_request:
release:
types: [published]

jobs:
test-and-push:
Expand Down Expand Up @@ -38,7 +39,7 @@ jobs:
uses: aws-actions/amazon-ecr-login@v1
with:
registries: 593291632749

- name: Prep Tags
id: prep
run: |
Expand Down

0 comments on commit a6e72ad

Please sign in to comment.