Skip to content

Commit

Permalink
Swap workflow credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
uhthomas committed Feb 18, 2021
1 parent 41b03a4 commit ccc0eba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ 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 run //cmd/kipp:push
env:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,4 @@ 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_ACTOR
password: ${{ secrets.CR_PAT }}
- run: bazel test //...

0 comments on commit ccc0eba

Please sign in to comment.