Skip to content

Commit

Permalink
Update Docker build and push commands in Github Actions
Browse files Browse the repository at this point in the history
The commit updates the Docker build and push commands within the Github Actions workflow file. The update specifies hardcoding the image name as 'demo-awscd-2024' and
  • Loading branch information
timam committed May 16, 2024
1 parent eb746ea commit 02114c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- name: Build, tag, and push image to Amazon ECR
run: |
cd demo/lambda/src
docker build -t ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:$GITHUB_SHA -f Dockerfile .
docker push ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:$GITHUB_SHA
docker build -t ${{ steps.login-ecr.outputs.registry }}/demo-awscd-2024:$GITHUB_SHA -f Dockerfile .
docker push ${{ steps.login-ecr.outputs.registry }}/demo-awscd-2024:$GITHUB_SHA

0 comments on commit 02114c1

Please sign in to comment.