Add DockerHub deploy action

This commit is contained in:
parra 2022-04-13 09:37:53 +02:00 committed by GitHub
parent b687baf8c4
commit 4298ce295e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}