Skip to content

Commit

Permalink
update dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmysun0815 committed Jan 27, 2024
1 parent 1317a45 commit ef13a31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 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,10 +168,10 @@ 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}
docker login -u ${DOCKERHUB_URL} -p ${DOCKERHUB_FRACTAL_TOKEN}
- name: Build images dockerhub
env:
DOCKERHUB_URL: ${{env.DOCKERHUB_URL}}
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 ef13a31

Please sign in to comment.