mirror of
https://github.com/parrazam/radicale-docker.git
synced 2024-09-01 19:50:24 +02:00
30 lines
725 B
YAML
30 lines
725 B
YAML
name: Publish Docker Hub
|
|
|
|
on:
|
|
push:
|
|
tags: [ '*.*.*.*' ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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 }}
|
|
tag_names: true
|
|
|
|
update-readme:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: peter-evans/dockerhub-description@v3
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|