Skip to content

Commit

Permalink
add workflow dispatch for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveTro committed May 29, 2024
1 parent a1c1eb5 commit 8e01cc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build and Push Docker Image to ECR

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -22,7 +23,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ vars.AWS_REGION }}

- name: Build, tag, and push Docker image to ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
Expand Down

0 comments on commit 8e01cc5

Please sign in to comment.