Skip to content

Commit

Permalink
Update aha-uat-ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rf-opssupport authored Jun 27, 2024
1 parent e6146b2 commit 28ec91f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/aha-uat-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,19 @@ jobs:
- name: Copy env file
run: aws s3 cp s3://${{ secrets.ENV_FILE_BUCKET_PATH }}/.env ./.env

- name: Declare some variables
id: vars
shell: bash
run: |
echo "branch=$(echo ${GITHUB_REF#refs/heads/} | sed "s/\\//-/g")" >> $GITHUB_OUTPUT
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "repo_name=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}')" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Amazon ECR
id: login-ecr
run: |
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
Expand Down

0 comments on commit 28ec91f

Please sign in to comment.