2022-04-13 09:37:53 +02:00
|
|
|
name: Publish Docker Hub
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags: [ '*.*.*.*' ]
|
2022-04-13 10:01:52 +02:00
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
2022-04-13 09:37:53 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-04-13 10:02:58 +02:00
|
|
|
- uses: actions/checkout@v3
|
2022-04-13 09:37:53 +02:00
|
|
|
- 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 }}
|
2022-04-13 10:30:34 +02:00
|
|
|
tag_names: true
|
2022-04-13 10:58:18 +02:00
|
|
|
|
|
|
|
update-readme:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
2022-04-13 12:55:46 +02:00
|
|
|
- uses: peter-evans/dockerhub-description@v3
|
2022-04-13 10:58:18 +02:00
|
|
|
with:
|
2022-04-13 12:55:46 +02:00
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|