docker login

This commit is contained in:
Maycon Santos 2025-01-03 01:45:56 +01:00
parent f7b1a17072
commit aa13b73e04

View File

@ -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)