diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 40fe2fd5..39d41a14 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -101,8 +101,9 @@ jobs: - name: Log in to Docker Hub uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + registry: ${{ vars.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta