This repository was archived by the owner on Mar 25, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 # https://github.com/docker/login-action
4545 - name : Log into registry ${{ env.REGISTRY }}
4646 if : github.event_name != 'pull_request'
47- uses : docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
47+ uses : docker/login-action@v2
4848 with :
4949 registry : ${{ env.REGISTRY }}
5050 username : ${{ github.actor }}
5454 # https://github.com/docker/metadata-action
5555 - name : Extract Docker metadata
5656 id : meta
57- uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
57+ uses : docker/metadata-action@v4
5858 with :
5959 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6060
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Validate required environment variables
4+ if [ -z " $EMAIL " ]; then
5+ echo " ERROR: EMAIL environment variable is required"
6+ exit 1
7+ fi
8+
39# save container environment variables to use it
410# in cron scripts
511
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ function logger_info {
5656# ## MAIN
5757# ###############################################################################
5858
59+ # Before renewal, ensure any leftover validation files are removed
60+ rm -rf ${WEBROOT} /.well-known/acme-challenge/*
61+
5962le_cert_root=" /etc/letsencrypt/live"
6063
6164if [ ! -d ${le_cert_root} ]; then
You can’t perform that action at this time.
0 commit comments