-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfc5f0e
commit 396db57
Showing
1 changed file
with
0 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|