File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Docker Publish
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+ schedule :
9+ - cron : ' 0 8 * * 2'
10+
11+ jobs :
12+
13+ ssh :
14+ uses : ./.github/workflows/service_docker-build-and-publish.yml
15+ with :
16+ tags : " serversideup/certbot-dns-cloudflare:latest"
17+ secrets : inherit
18+
19+ update_container_readme :
20+ runs-on : ubuntu-20.04
21+ name : Push README to Docker Hub
22+ steps :
23+ - name : git checkout
24+ uses : actions/checkout@v4
25+ with :
26+ ref : main
27+
28+ - name : push README to Dockerhub
29+ uses : christian-korneck/update-container-description-action@v1
30+ env :
31+ DOCKER_USER : ${{ secrets.DOCKER_HUB_README_USERNAME }}
32+ DOCKER_PASS : ${{ secrets.DOCKER_HUB_README_PASSWORD }}
33+ with :
34+ destination_container_repo : serversideup/certbot-dns-cloudflare
35+ provider : dockerhub
36+ short_description : ' A simple wrapper around certbot/dns-cloudflare to add a renewal interval.'
37+ readme_file : ' README.md'
Original file line number Diff line number Diff line change 1+ name : Generate Sponsors README
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : 30 15 * * 0-6
6+ jobs :
7+ deploy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout 🛎️
11+ uses : actions/checkout@v3
12+
13+ - name : Generate Sponsors 💖
14+ uses : JamesIves/github-sponsors-readme-action@v1
15+ with :
16+ organization : true
17+ maximum : 500
18+ fallback : ' <p align="center"><a href="https://github.com/sponsors/serversideup"><img src="https://521public.s3.amazonaws.com/serversideup/sponsors/sponsor-empty-state.png" alt="Sponsors"></a></p>'
19+ token : ${{ secrets.SPONSORS_README_ACTION_PERSONAL_ACCESS_TOKEN }}
20+ marker : ' supporters'
21+ template : ' <a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="40px" alt="{{{ login }}}" /></a> '
22+ file : ' README.md'
23+
24+ - name : Deploy to GitHub Pages 🚀
25+ uses : JamesIves/github-pages-deploy-action@v4
26+ with :
27+ branch : main
28+ folder : ' .'
Original file line number Diff line number Diff line change 1+ on :
2+ workflow_call :
3+ inputs :
4+ tags :
5+ required : true
6+ type : string
7+
8+ jobs :
9+ docker-publish :
10+ runs-on : ubuntu-22.04
11+ steps :
12+ - name : Check out code
13+ uses : actions/checkout@v4
14+
15+ - name : Login to DockerHub
16+ uses : docker/login-action@v3
17+ with :
18+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
19+ password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
20+
21+ - name : Set up QEMU
22+ uses : docker/setup-qemu-action@v3
23+
24+ - name : Set up Docker Buildx
25+ uses : docker/setup-buildx-action@v3
26+
27+ - name : Build and push
28+ uses : docker/build-push-action@v5
29+ with :
30+ context : src/
31+ platforms : |
32+ linux/amd64
33+ linux/arm/v7
34+ linux/arm64/v8
35+ pull : true
36+ push : true
37+ tags : " ${{ inputs.tags }}"
Original file line number Diff line number Diff line change 1+ name : Workflow
2+
3+ on :
4+ pull_request : null
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ actionlint :
11+ name : Actionlint
12+ runs-on : ubuntu-22.04
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+ - name : Analyze workflow files
17+ uses : docker://rhysd/actionlint:1.7.0
18+ with :
19+ args : " -color -verbose -shellcheck="
You can’t perform that action at this time.
0 commit comments