File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,20 @@ jobs:
48
48
ECR_REGISTRY : ${{ steps.login-ecr.outputs.registry }}
49
49
IMAGE_TAG : ${{ github.sha }}
50
50
run : |
51
+ # Login to ECR
51
52
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 058264122535.dkr.ecr.us-east-1.amazonaws.com
52
53
53
- # Build with tag and build args
54
+ # Build and push
54
55
docker buildx build \
55
56
--platform linux/amd64 \
56
57
--build-arg SUPABASE_URL=${{ secrets.SUPABASE_URL }} \
57
58
--build-arg SUPABASE_ANON_KEY=${{ secrets.SUPABASE_ANON_KEY }} \
58
59
--push \
59
60
-t 058264122535.dkr.ecr.us-east-1.amazonaws.com/ponder/indexer:latest \
60
61
.
62
+
63
+ # Set the image output using the new GitHub Actions syntax
64
+ echo "image=058264122535.dkr.ecr.us-east-1.amazonaws.com/ponder/indexer:latest" >> $GITHUB_OUTPUT
61
65
62
66
- name : Download task definition
63
67
run : |
You can’t perform that action at this time.
0 commit comments