Skip to content

Commit

Permalink
Create push-to-docker-hub.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Toby Yan <[email protected]>
  • Loading branch information
toby1991 committed Sep 27, 2021
1 parent 2abbca2 commit 76ca330
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/push-to-docker-hub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
release:
types: [published]
name: Publish Docker
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: toby1991/sms-forwarder
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile
tags: "latest"

0 comments on commit 76ca330

Please sign in to comment.