From 45d8a9ed9339f2d521c19a899c7fd4f92f341660 Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Fri, 19 Jan 2024 19:13:55 -0500 Subject: [PATCH] ci: doesn't auth on Docker Hub --- .github/workflows/publish.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9a8093b4f..9b676d2c4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,6 +15,11 @@ jobs: uses: actions/setup-java@v1 with: java-version: 17 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_KEY }} - name: Check uses: eskatos/gradle-command-action@v1 with: @@ -23,8 +28,6 @@ jobs: uses: eskatos/gradle-command-action@v1 with: arguments: jib - env: - DOCKER_KEY: ${{ secrets.DOCKER_KEY }} publish-github: runs-on: ubuntu-latest