chore(cicd): add docker workflow and refine READMEs (#40)
This commit is contained in:
parent
76334b808d
commit
8bf1aebaf6
4 changed files with 67 additions and 13 deletions
25
.github/workflows/cd_docker.yml
vendored
Normal file
25
.github/workflows/cd_docker.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: cd-docker
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
push_to_registry:
|
||||
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 with tag
|
||||
uses: docker/build-push-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
repository: hexxa/quickshare
|
||||
tag_with_ref: true
|
||||
- name: Push to Docker Hub without tag
|
||||
uses: docker/build-push-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
repository: hexxa/quickshare
|
||||
tag_with_ref: false
|
Loading…
Add table
Add a link
Reference in a new issue