From aa13b73e046f5de13acf64d2797f77bead0193c1 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Fri, 3 Jan 2025 01:45:56 +0100 Subject: [PATCH] docker login --- .github/workflows/golang-test-linux.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/golang-test-linux.yml b/.github/workflows/golang-test-linux.yml index 18ebdbca7..ed225a9d0 100644 --- a/.github/workflows/golang-test-linux.yml +++ b/.github/workflows/golang-test-linux.yml @@ -182,6 +182,12 @@ jobs: - name: check git status run: git --no-pager diff --exit-code + - name: Login to Docker hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_TOKEN }} + - name: Test run: CGO_ENABLED=1 GOARCH=${{ matrix.arch }} NETBIRD_STORE_ENGINE=${{ matrix.store }} CI=true go test -p 1 -exec 'sudo --preserve-env=CI,NETBIRD_STORE_ENGINE' -timeout 10m $(go list ./... | grep /management)