Skip to content

Commit

Permalink
Add docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
SadeghHayeri authored Dec 7, 2019
1 parent 390eba7 commit 52bcbab
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-docker-hub:
needs: [publish-npm]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: sadeghhayeri/green-tunnel
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true

build-for-mac:
runs-on: macOS-latest
Expand Down

0 comments on commit 52bcbab

Please sign in to comment.