Skip to content

Commit

Permalink
Add edge and tagged releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Jan 8, 2025
1 parent 5f96c9c commit 0e309b4
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 26 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/publish_docker-images-edge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Docker Publish (Edge)

on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/**
- .github/workflows/**

jobs:

build:
uses: ./.github/workflows/service_docker-build-and-publish.yml
with:
tags: "serversideup/certbot-dns-cloudflare:latest"
secrets: inherit

update_container_readme:
runs-on: ubuntu-24.04
name: Push README to Docker Hub
steps:
- name: git checkout
uses: actions/checkout@v4
with:
ref: main

- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_HUB_README_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_HUB_README_PASSWORD }}
with:
destination_container_repo: serversideup/certbot-dns-cloudflare
provider: dockerhub
short_description: 'A simple wrapper around certbot/dns-cloudflare to add a renewal interval.'
readme_file: 'README.md'
31 changes: 5 additions & 26 deletions .github/workflows/publish_docker-images-production.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Docker Publish
name: Docker Publish (Production)

on:
workflow_dispatch:
push:
branches:
- main
release:
types: [released]
schedule:
- cron: '0 8 * * 2'

Expand All @@ -13,25 +12,5 @@ jobs:
build:
uses: ./.github/workflows/service_docker-build-and-publish.yml
with:
tags: "serversideup/certbot-dns-cloudflare:latest"
secrets: inherit

update_container_readme:
runs-on: ubuntu-20.04
name: Push README to Docker Hub
steps:
- name: git checkout
uses: actions/checkout@v4
with:
ref: main

- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_HUB_README_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_HUB_README_PASSWORD }}
with:
destination_container_repo: serversideup/certbot-dns-cloudflare
provider: dockerhub
short_description: 'A simple wrapper around certbot/dns-cloudflare to add a renewal interval.'
readme_file: 'README.md'
tags: "serversideup/certbot-dns-cloudflare:latest,serversideup/certbot-dns-cloudflare:${{ github.ref_name }}"
secrets: inherit

0 comments on commit 0e309b4

Please sign in to comment.