Skip to content

Build Caddy with lego_deprecated plugin #3

Build Caddy with lego_deprecated plugin

Build Caddy with lego_deprecated plugin #3

Workflow file for this run

name: Build Caddy with lego_deprecated plugin
on:
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build-publish-custom-caddy:
name: Build and publish custom Caddy image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Caddy image
id: build_caddy
uses: redhat-actions/buildah-build@v2
with:
containerfiles: ./Containerfile
image: caddy-dns-lego
tags: latest run-${{ github.run_number }} ${{ github.sha }}
- name: Publish to GitHub registry
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build_caddy.outputs.image }}
tags: ${{ steps.build_caddy.outputs.tags }}
registry: ghcr.io/llyama
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}