Skip to content

Commit 64f2e7b

Browse files
committed
ci: remove push to docker hub
We currently don't have the necessary credentials to do so.
1 parent 80bae24 commit 64f2e7b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/publish-release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,19 @@ jobs:
1818
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # ratchet:actions/setup-java@v5
1919
with:
2020
java-version: 21
21-
distribution: 'temurin'
22-
cache: 'gradle'
21+
distribution: "temurin"
22+
cache: "gradle"
2323
- name: Login to GitHub Container Registry
2424
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # ratchet:docker/login-action@v3
2525
with:
2626
registry: ghcr.io
2727
username: ${{ github.actor }}
2828
password: ${{ secrets.GITHUB_TOKEN }}
29-
- name: Login to DockerHub
30-
uses: docker/login-action@v3
31-
with:
32-
username: ${{ secrets.DOCKERHUB_USERNAME }}
33-
password: ${{ secrets.DOCKERHUB_TOKEN }}
34-
29+
#- name: Login to DockerHub
30+
# uses: docker/login-action@v3
31+
# with:
32+
# username: ${{ secrets.DOCKERHUB_USERNAME }}
33+
# password: ${{ secrets.DOCKERHUB_TOKEN }}
3534
- name: Publish artifact and images
3635
env:
3736
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
@@ -48,4 +47,5 @@ jobs:
4847
IMAGE_DH=${IMAGE_NAME_DH}:${NEW_VERSION}
4948
echo "Releasing new version ${NEW_VERSION} of $IMAGE"
5049
./gradlew -Pversion=${NEW_VERSION} publishAllPublicationsToGithubPackagesRepository publishAndReleaseToMavenCentral --no-configuration-cache
51-
./gradlew jib --image="${IMAGE}" --image="${IMAGE_DH}"
50+
# ./gradlew jib --image="${IMAGE}" --image="${IMAGE_DH}"
51+
./gradlew jib --image="${IMAGE}"

0 commit comments

Comments
 (0)