Skip to content

Commit

Permalink
Provide docker credentials to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
uhthomas committed Feb 18, 2021
1 parent 5f0d600 commit 41b03a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 //...

0 comments on commit 41b03a4

Please sign in to comment.