Add DockerHub deploy action

This commit is contained in:
parra 2022-04-13 09:37:53 +02:00
parent b687baf8c4
commit 2b62aa3174
1 changed files with 17 additions and 0 deletions

17
.github/workflows/deploy-docker vendored Normal file
View File

@ -0,0 +1,17 @@
name: Publish Docker Hub
on:
push:
tags: [ '*.*.*.*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish to Docker Hub Registry
uses: elgohr/Publish-Docker-Github-Action@v4
with:
name: parrazam/radicale-docker
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}