Skip to content

Commit

Permalink
ci(fix): Fixed docker build command
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed May 27, 2024
1 parent d84913d commit d5ec1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
# Build a docker container and push it to ECR
aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin $ECR_REGISTRY
docker build -t keyshade/keyshade-web:alpha-${GITHUB_SHA::6} $ECR_REGISTRY/$ECR_REPOSITORY:latest -f ./apps/web/Dockerfile .
docker build -t keyshade/keyshade-web:alpha-${GITHUB_SHA::6} -t $ECR_REGISTRY/$ECR_REPOSITORY:latest -f ./apps/web/Dockerfile .
echo "Pushing image to ECR..."
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
echo "name=image::$ECR_REGISTRY/$ECR_REPOSITORY:latest" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit d5ec1c2

Please sign in to comment.