mirror of
https://github.com/parrazam/radicale-docker.git
synced 2024-11-02 03:14:12 +01:00
29 lines
725 B
YAML
29 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 }}
|