Skip to content

Commit

Permalink
update according github aws.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sahaavi committed Jul 7, 2023
1 parent 36c54e9 commit 4078f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: ${{ secrets.ECR_NAME }}
IMAGE_TAG: latest
IMAGE_TAG: ${{ github.sha }}
run: |
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_NAME:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_NAME:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_NAME:$IMAGE_TAG"
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
Continuous-Deployment:
needs: build-and-push-ecr-image
Expand Down

0 comments on commit 4078f8a

Please sign in to comment.