File tree Expand file tree Collapse file tree 2 files changed +43
-26
lines changed Expand file tree Collapse file tree 2 files changed +43
-26
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Publish (Edge)
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - main
8
+ paths :
9
+ - src/**
10
+ - .github/workflows/**
11
+
12
+ jobs :
13
+
14
+ build :
15
+ uses : ./.github/workflows/service_docker-build-and-publish.yml
16
+ with :
17
+ tags : " serversideup/certbot-dns-cloudflare:latest"
18
+ secrets : inherit
19
+
20
+ update_container_readme :
21
+ runs-on : ubuntu-24.04
22
+ name : Push README to Docker Hub
23
+ steps :
24
+ - name : git checkout
25
+ uses : actions/checkout@v4
26
+ with :
27
+ ref : main
28
+
29
+ - name : push README to Dockerhub
30
+ uses : christian-korneck/update-container-description-action@v1
31
+ env :
32
+ DOCKER_USER : ${{ secrets.DOCKER_HUB_README_USERNAME }}
33
+ DOCKER_PASS : ${{ secrets.DOCKER_HUB_README_PASSWORD }}
34
+ with :
35
+ destination_container_repo : serversideup/certbot-dns-cloudflare
36
+ provider : dockerhub
37
+ short_description : ' A simple wrapper around certbot/dns-cloudflare to add a renewal interval.'
38
+ readme_file : ' README.md'
Original file line number Diff line number Diff line change 1
- name : Docker Publish
1
+ name : Docker Publish (Production)
2
2
3
3
on :
4
4
workflow_dispatch :
5
- push :
6
- branches :
7
- - main
5
+ release :
6
+ types : [released]
8
7
schedule :
9
8
- cron : ' 0 8 * * 2'
10
9
13
12
build :
14
13
uses : ./.github/workflows/service_docker-build-and-publish.yml
15
14
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'
15
+ tags : " serversideup/certbot-dns-cloudflare:latest,serversideup/certbot-dns-cloudflare:${{ github.ref_name }}"
16
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments