Skip to content

Commit

Permalink
add docker image release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: hexilee <[email protected]>
  • Loading branch information
Hexilee committed Mar 16, 2021
1 parent 1da37b2 commit 928c3f4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Docker image
on:
push:
tags:
- 'v*'

jobs:
push:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: hexilee/tifs
tag_with_ref: true

0 comments on commit 928c3f4

Please sign in to comment.