Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-fleming authored Oct 18, 2024
1 parent cfc5f0e commit 396db57
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
uses: actions/checkout@v2

- name: Set Image Tag
id: set-tag
run: |
# Get all tags for the repo and find the latest tag for the branch being built
git fetch --tags --force --quiet
Expand Down Expand Up @@ -66,23 +65,20 @@ jobs:
severity: 'CRITICAL,HIGH'

- name: Create Git tag for Image
id: tag-repo
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git tag ${{ env.IMAGE_TAG }}
git push origin ${{ env.IMAGE_TAG }}
- name: AWS OIDC Authentication
id: auth
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
role-session-name: ${{ github.actor }}

- name: Login to Amazon ECR
id: login-aws-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Push to Amazon ECR
Expand Down

0 comments on commit 396db57

Please sign in to comment.