Skip to content

Commit

Permalink
fix ecr image names
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdokkum authored May 27, 2024
1 parent bb8932b commit bd3b709
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
echo "Remote Digest: $REMOTE_DIGEST"
echo "Building Docker image locally..."
docker build --platform linux/amd64 -t $IMAGE_URI .
docker build --platform linux/amd64 -t wxyc_backend_service:latest .
echo "Fetching local image details..."
LOCAL_IMAGE_DETAILS=$(docker inspect $IMAGE_URI)
LOCAL_IMAGE_DETAILS=$(docker inspect wxyc_backend_service:latest)
echo "Local Image Details: $LOCAL_IMAGE_DETAILS"
Expand Down Expand Up @@ -106,9 +106,9 @@ jobs:
run: |
IMAGE_URI="${{ secrets.AWS_ECR_REPOSITORY }}:latest"
echo "Building Docker image..."
docker build --platform linux/amd64 -t $IMAGE_URI .
docker build --platform linux/amd64 -t wxyc_backend_service:latest .
echo "Tagging Docker image..."
docker tag $IMAGE_URI $IMAGE_URI
docker tag wxyc_backend_service:latest $IMAGE_URI
echo "Pushing Docker image to ECR..."
docker push $IMAGE_URI
Expand Down

0 comments on commit bd3b709

Please sign in to comment.