Anpassungen
All checks were successful
release-tag / release-image (push) Successful in 1m45s

This commit is contained in:
jbergner
2025-04-29 10:35:16 +02:00
parent b6c39eda74
commit 5dee17ede0
2 changed files with 5 additions and 17 deletions

View File

@@ -49,15 +49,3 @@ jobs:
tags: | # replace it with your local IP and tags
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
- name: Build and push Ubuntu
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile_Ubuntu
platforms: |
linux/amd64
push: true
tags: | # replace it with your local IP and tags
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}_ubuntu
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}_ubuntu

View File

@@ -80,8 +80,8 @@ var (
ocspEnabled = enabled("OCSP_ENABLED", false)
crlEnabled = enabled("CRL_ENABLED", false)
jwsVerify = enabled("JWS_VERIFY_ENABLED", true)
dnsAPI = getenv("DNS_PROVIDER_URL", "")
dnsAPIToken = getenv("DNS_PROVIDER_TOKEN", "")
//dnsAPI = getenv("DNS_PROVIDER_URL", "")
//dnsAPIToken = getenv("DNS_PROVIDER_TOKEN", "")
listenAddr = flag.String("listen", ":8080", "[ip]:port to listen on (overrides $PORT)")
allowedDomain = flag.String("domain", getenv("ACME_ALLOWED_DOMAIN", "example.com"), "single domain to protect with autocert")
@@ -356,7 +356,7 @@ func (c *ca) refreshLoops(ctx context.Context, lg *slog.Logger) {
// DNS provider util REST TXT create/delete
// -----------------------------------------------------------------------------
func publishTXT(fqdn, token string, present bool) {
/*func publishTXT(fqdn, token string, present bool) {
if dnsAPI == "" {
return
}
@@ -376,7 +376,7 @@ func publishTXT(fqdn, token string, present bool) {
_ = resp.Body.Close()
}
}()
}
}*/
// -----------------------------------------------------------------------------
// Server struct & helpers