From 41b03a44647cce8cb4d2e6a6f8c6f53464673083 Mon Sep 17 00:00:00 2001 From: Thomas <9749173+uhthomas@users.noreply.github.com> Date: Thu, 18 Feb 2021 16:52:56 +0000 Subject: [PATCH] Provide docker credentials to release workflow --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a994657..bffa546c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,13 @@ jobs: - uses: actions/checkout@v2 - name: Install bazelisk run: curl -L "https://github.com/bazelbuild/bazelisk/releases/download/v1.7.4/bazelisk-linux-amd64" | install -D /dev/stdin "${GITHUB_WORKSPACE}/bin/bazel" + - uses: docker/login-action@v1 + with: + username: uhthomas + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - uses: docker/login-action@v1 with: registry: ghcr.io - username: ${{ github.repository_owner }} + username: $GITHUB_ACTOR password: ${{ secrets.CR_PAT }} - run: bazel test //...