Skip to content

Commit 1ae5bf0

Browse files
authored
Add dockerimage.yml. Fixes #97
1 parent 20d3cff commit 1ae5bf0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/dockerimage.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish Docker image
2+
on:
3+
release:
4+
types: [published]
5+
6+
jobs:
7+
push_to_registry:
8+
name: Push Docker image to Docker Hub
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out the repo
12+
uses: actions/checkout@v2
13+
- name: Push to Docker Hub
14+
uses: docker/build-push-action@v1
15+
with:
16+
username: ${{ secrets.DOCKER_USERNAME }}
17+
password: ${{ secrets.DOCKER_PASSWORD }}
18+
repository: evkalinin/gh-md-toc
19+
tag_with_ref: true

0 commit comments

Comments
 (0)