From a25e3cc4ba87b3096d84ea76d71a55c6c9a0dd76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 8 Aug 2024 14:33:35 +0200 Subject: [PATCH] chore(ci): login on Docker hub --- .github/workflows/ci-test-go.yml | 6 ++++++ .github/workflows/ci-windows.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ci-test-go.yml b/.github/workflows/ci-test-go.yml index 13fb26422c..2e3253b59e 100644 --- a/.github/workflows/ci-test-go.yml +++ b/.github/workflows/ci-test-go.yml @@ -53,6 +53,12 @@ jobs: RYUK_CONNECTION_TIMEOUT: "${{ inputs.project-directory == 'modules/compose' && '5m' || '60s' }}" RYUK_RECONNECTION_TIMEOUT: "${{ inputs.project-directory == 'modules/compose' && '30s' || '10s' }}" steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Setup rootless Docker if: ${{ inputs.rootless-docker }} uses: ScribeMD/rootless-docker@6bd157a512c2fafa4e0243a8aa87d964eb890886 # v0.2.2 diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index ba8a27aaf1..e20608729f 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -9,6 +9,12 @@ jobs: runs-on: [self-hosted, Windows, X64, desktop-windows-intel] timeout-minutes: 30 steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Create pending status uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: