diff --git a/.gitea/workflows/registry.yml b/.gitea/workflows/registry.yml index 9bc5e04..20912ac 100644 --- a/.gitea/workflows/registry.yml +++ b/.gitea/workflows/registry.yml @@ -48,16 +48,4 @@ jobs: 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 }} - ${{ 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 \ No newline at end of file + ${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} \ No newline at end of file diff --git a/main.go b/main.go index 5e24a81..54005bd 100644 --- a/main.go +++ b/main.go @@ -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