Skip to content

Commit

Permalink
Merge pull request #77 from checkr/zz/add-docker-publish
Browse files Browse the repository at this point in the history
Add docker hub publish action
  • Loading branch information
zhouzhuojie authored May 21, 2020
2 parents 2ef773f + 9182924 commit d604c64
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish DockerHub
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish Docker SemVer Tag
uses: elgohr/[email protected]
with:
name: checkr/openmock
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_semver: true
- name: Publish Docker Latest Tag
uses: elgohr/[email protected]
with:
name: checkr/openmock
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag: latest

0 comments on commit d604c64

Please sign in to comment.