Skip to content

Commit

Permalink
change the dockerhub to a new repo. (#1048)
Browse files Browse the repository at this point in the history
* update dockerhub

* change variable name
  • Loading branch information
jimmysun0815 authored Jan 27, 2024
1 parent 1317a45 commit ff1759e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
ENV: release
PRIVATE_ECR_URL: 358484141435.dkr.ecr.us-west-2.amazonaws.com
PUBLIC_ECR_URL: public.ecr.aws/k6m5b6e2
DOCKERHUB_URL: findoranetwork
DOCKERHUB_URL: fractalfoundation
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Login Dockerhub
env:
DOCKERHUB_URL: ${{env.DOCKERHUB_URL}}
DOCKERHUB_TOKEN: ${{secrets.DOCKERHUB_TOKEN}}
DOCKERHUB_TOKEN: ${{secrets.DOCKERHUB_FRACTAL_TOKEN}}
shell: bash
run: |
docker login -u ${DOCKERHUB_URL} -p ${DOCKERHUB_TOKEN}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ ci_build_image_dockerhub:
@ docker run --rm -d --name findorad-binary findorad-binary-image:$(IMAGE_TAG)
@ docker cp findorad-binary:/binary ./binary
@ docker rm -f findorad-binary
@ docker buildx build --platform linux/amd64 -t $(DOCKERHUB_URL)/findorad:$(IMAGE_TAG) -f container/Dockerfile-goleveldb . --push
@ docker buildx build --platform linux/amd64 -t $(DOCKERHUB_URL)/fractal:$(IMAGE_TAG) -f container/Dockerfile-goleveldb . --push


# ========================== release ARM64/v8 ===========================
Expand Down Expand Up @@ -341,7 +341,7 @@ ci_build_wasm_js_bindings:
docker rm -f wasm findorad-binary || true

clean_image_dockerhub:
docker rmi $(DOCKERHUB_URL)/findorad:$(IMAGE_TAG)
docker rmi $(DOCKERHUB_URL)/fractal:$(IMAGE_TAG)

clean_binary_dockerhub:
docker rmi findorad-binary-image:$(IMAGE_TAG)
Expand Down

0 comments on commit ff1759e

Please sign in to comment.