Skip to content

Commit

Permalink
Docker builds: use locustbuild account with secret docker hub access …
Browse files Browse the repository at this point in the history
…token.
  • Loading branch information
cyberw committed Aug 8, 2021
1 parent 208ec49 commit 8066f28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: locustbuild
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- uses: docker/build-push-action@v2
with:
context: ./
Expand All @@ -66,6 +71,11 @@ jobs:
- name: Get git tag
id: tag
uses: dawidd6/action-get-tag@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: locustbuild
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- uses: docker/build-push-action@v2
with:
context: ./
Expand Down

0 comments on commit 8066f28

Please sign in to comment.