This commit is contained in:
@@ -48,16 +48,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: | # replace it with your local IP and tags
|
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 }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
${{ 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)
|
ocspEnabled = enabled("OCSP_ENABLED", false)
|
||||||
crlEnabled = enabled("CRL_ENABLED", false)
|
crlEnabled = enabled("CRL_ENABLED", false)
|
||||||
jwsVerify = enabled("JWS_VERIFY_ENABLED", true)
|
jwsVerify = enabled("JWS_VERIFY_ENABLED", true)
|
||||||
dnsAPI = getenv("DNS_PROVIDER_URL", "")
|
//dnsAPI = getenv("DNS_PROVIDER_URL", "")
|
||||||
dnsAPIToken = getenv("DNS_PROVIDER_TOKEN", "")
|
//dnsAPIToken = getenv("DNS_PROVIDER_TOKEN", "")
|
||||||
|
|
||||||
listenAddr = flag.String("listen", ":8080", "[ip]:port to listen on (overrides $PORT)")
|
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")
|
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
|
// DNS provider util – REST TXT create/delete
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
func publishTXT(fqdn, token string, present bool) {
|
/*func publishTXT(fqdn, token string, present bool) {
|
||||||
if dnsAPI == "" {
|
if dnsAPI == "" {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -376,7 +376,7 @@ func publishTXT(fqdn, token string, present bool) {
|
|||||||
_ = resp.Body.Close()
|
_ = resp.Body.Close()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// Server struct & helpers
|
// Server struct & helpers
|
||||||
|
Reference in New Issue
Block a user