Skip to content

Commit

Permalink
ci: Login to Docker Hub before running make release (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson authored Sep 28, 2022
1 parent 53053db commit 2399f6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
name: Install tools via asdf
uses: asdf-vm/actions/install@v1

- if: ${{ steps.release-please.outputs.release_created }}
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- if: ${{ steps.release-please.outputs.release_created }}
name: Release
run: make release
Expand Down

0 comments on commit 2399f6e

Please sign in to comment.