Skip to content

Commit

Permalink
Revert "Replace dockerhub with AWS ECR"
Browse files Browse the repository at this point in the history
This reverts commit 7aba4aa.
  • Loading branch information
vegarsti committed Jul 1, 2024
1 parent 733b353 commit f141f07
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ gen-mocks: bin/moq ./client/jsonrpc/ ./client/duneapi/

image-build:
@echo "# Building Docker images"
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v8 -t public.ecr.aws/duneanalytics/node-indexer:latest .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v8 -t duneanalytics/node-indexer:latest -f Dockerfile .

image-push:
@echo "# Pushing Docker images to ECR (after building)"
@echo "# Pushing Docker images to Docker Hub (after building)"
echo -n "${DOCKER_HUB_KEY}" | docker login --username duneanalytics --password-stdin
docker buildx create --name mybuilder
docker buildx use mybuilder
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v8 -t public.ecr.aws/duneanalytics/node-indexer:latest --push .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v8 -t duneanalytics/node-indexer:latest -f Dockerfile --push .

0 comments on commit f141f07

Please sign in to comment.