Skip to content

Commit

Permalink
login to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
dselans committed Mar 29, 2021
1 parent c8525e8 commit 7ac2262
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ jobs:
- name: Build
run: |
VERSION="$GITHUB_TAG ($GITHUB_SHORT_SHA)" make build
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
files: |
build/plumber-darwin
build/plumber-linux
build/plumber-windows.exe
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image
run: make docker/build
- name: Push docker image
Expand Down

0 comments on commit 7ac2262

Please sign in to comment.