This commit is contained in:
@@ -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
|
8
main.go
8
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
|
||||
|
Reference in New Issue
Block a user