From 1cc1135c54771716eba83f3499b1b14a40ffc3c4 Mon Sep 17 00:00:00 2001 From: Dmitry Maslennikov Date: Tue, 9 Jan 2024 16:55:30 +0400 Subject: [PATCH] docker login --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 219cea2..485e5c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,6 +44,12 @@ jobs: files: build/libs/${{ steps.version.outputs.name }}.jar token: ${{ secrets.GITHUB_TOKEN }} + - name: Login to Docker Hub + if: github.event_name != 'pull_request' + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up QEMU if: github.event_name != 'pull_request' uses: docker/setup-qemu-action@v2