Skip to content

Commit 86e6f54

Browse files
committed
disable dockerhub
1 parent 5b5ae14 commit 86e6f54

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ jobs:
2323
- name: Set up Docker Buildx
2424
uses: docker/setup-buildx-action@v3
2525

26-
- name: Login to DockerHub
27-
uses: docker/login-action@v3
28-
with:
29-
username: ${{ secrets.DOCKERHUB_USERNAME }}
30-
password: ${{ secrets.DOCKERHUB_TOKEN }}
26+
# DockerHub login commented out for now (we are only using GHCR)
27+
# - name: Login to DockerHub
28+
# uses: docker/login-action@v3
29+
# with:
30+
# username: ${{ secrets.DOCKERHUB_USERNAME }}
31+
# password: ${{ secrets.DOCKERHUB_TOKEN }}
3132

3233
- name: Login to GHCR
3334
uses: docker/login-action@v3
@@ -55,7 +56,7 @@ jobs:
5556
restore-keys: |
5657
${{ runner.os }}-buildx-
5758
58-
# Build and push slim base with semantic + hash tags to both registries
59+
# Build and push slim base with semantic + hash tags (GHCR only for now)
5960
- name: Build and push slim base
6061
uses: docker/build-push-action@v6
6162
with:
@@ -64,16 +65,16 @@ jobs:
6465
platforms: linux/amd64
6566
push: true
6667
tags: |
67-
datacite/canis-base:latest
68-
datacite/canis-base:${{ steps.version.outputs.version }}
69-
datacite/canis-base:${{ steps.version.outputs.sha }}
68+
# datacite/canis-base:latest
69+
# datacite/canis-base:${{ steps.version.outputs.version }}
70+
# datacite/canis-base:${{ steps.version.outputs.sha }}
7071
ghcr.io/datacite/canis-base:latest
7172
ghcr.io/datacite/canis-base:${{ steps.version.outputs.version }}
7273
ghcr.io/datacite/canis-base:${{ steps.version.outputs.sha }}
7374
cache-from: type=local,src=/tmp/.buildx-cache
7475
cache-to: type=local,dest=/tmp/.buildx-cache
7576

76-
# Build and push tools variant on top of the exact base SHA to both registries
77+
# Build and push tools variant on top of the exact base SHA (GHCR only for now)
7778
- name: Build and push tools variant
7879
uses: docker/build-push-action@v6
7980
with:
@@ -82,9 +83,9 @@ jobs:
8283
platforms: linux/amd64
8384
push: true
8485
tags: |
85-
datacite/canis-base-tools:latest
86-
datacite/canis-base-tools:${{ steps.version.outputs.version }}
87-
datacite/canis-base-tools:${{ steps.version.outputs.sha }}
86+
# datacite/canis-base-tools:latest
87+
# datacite/canis-base-tools:${{ steps.version.outputs.version }}
88+
# datacite/canis-base-tools:${{ steps.version.outputs.sha }}
8889
ghcr.io/datacite/canis-base-tools:latest
8990
ghcr.io/datacite/canis-base-tools:${{ steps.version.outputs.version }}
9091
ghcr.io/datacite/canis-base-tools:${{ steps.version.outputs.sha }}

0 commit comments

Comments
 (0)