mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
duckdns: Collection of improvements (#900)
* duckdns: Prettier YAML files * duckdns: Sort build.json * duckdns: Update add-on URL * duckdns: Remove curl from Dockerfile, part of base image * duckdns: Small style change to Dockerfile * duckdns: Documents missing ipv4 & ipv6 options
This commit is contained in:
committed by
Pascal Vizeli
parent
ed3f09a481
commit
f56d653d22
@@ -3,8 +3,9 @@ FROM $BUILD_FROM
|
|||||||
|
|
||||||
# Setup base
|
# Setup base
|
||||||
ARG DEHYDRATED_VERSION
|
ARG DEHYDRATED_VERSION
|
||||||
RUN apk add --no-cache curl openssl \
|
RUN apk add --no-cache openssl \
|
||||||
&& curl -s -o /usr/bin/dehydrated https://raw.githubusercontent.com/lukas2511/dehydrated/v$DEHYDRATED_VERSION/dehydrated \
|
&& curl -s -o /usr/bin/dehydrated \
|
||||||
|
"https://raw.githubusercontent.com/lukas2511/dehydrated/v${DEHYDRATED_VERSION}/dehydrated" \
|
||||||
&& chmod a+x /usr/bin/dehydrated
|
&& chmod a+x /usr/bin/dehydrated
|
||||||
|
|
||||||
# Copy data
|
# Copy data
|
||||||
|
|||||||
@@ -63,6 +63,18 @@ The name of the private key file generated by Let's Encrypt. The private key fil
|
|||||||
|
|
||||||
**Note**: _The file is stored in `/ssl/`, which is the default for Hass.io_
|
**Note**: _The file is stored in `/ssl/`, which is the default for Hass.io_
|
||||||
|
|
||||||
|
### Option: `ipv4` (optional)
|
||||||
|
|
||||||
|
By default, Duck DNS will auto detect your IPv4 address and use that.
|
||||||
|
This option allows you to override the auto-detection and specify an
|
||||||
|
IPv4 address manually.
|
||||||
|
|
||||||
|
### Option: `ipv6` (optional)
|
||||||
|
|
||||||
|
By default, Duck DNS will auto detect your IPv6 address and use that.
|
||||||
|
This option allows you to override the auto-detection and specify an
|
||||||
|
IPv6 address manually.
|
||||||
|
|
||||||
### Option: `token`
|
### Option: `token`
|
||||||
|
|
||||||
The DuckDNS authentication token found at the top of the DuckDNS account landing page. The token is required to make any changes to the subdomains registered to your account.
|
The DuckDNS authentication token found at the top of the DuckDNS account landing page. The token is required to make any changes to the subdomains registered to your account.
|
||||||
|
|||||||
@@ -3,20 +3,19 @@
|
|||||||
trigger:
|
trigger:
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
include:
|
include:
|
||||||
- duckdns/*
|
- duckdns/*
|
||||||
pr: none
|
pr: none
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- name: versionBuilder
|
- name: versionBuilder
|
||||||
value: '2.0'
|
value: "2.0"
|
||||||
- group: docker
|
- group: docker
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- template: /.azure/azp-template-addon.yml
|
- template: /.azure/azp-template-addon.yml
|
||||||
parameters:
|
parameters:
|
||||||
addon: 'duckdns'
|
addon: "duckdns"
|
||||||
arch: '--all'
|
arch: "--all"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"build_from": {
|
"build_from": {
|
||||||
|
"aarch64": "homeassistant/aarch64-base:3.10",
|
||||||
"amd64": "homeassistant/amd64-base:3.10",
|
"amd64": "homeassistant/amd64-base:3.10",
|
||||||
"i386": "homeassistant/i386-base:3.10",
|
|
||||||
"armhf": "homeassistant/armhf-base:3.10",
|
"armhf": "homeassistant/armhf-base:3.10",
|
||||||
"armv7": "homeassistant/armv7-base:3.10",
|
"armv7": "homeassistant/armv7-base:3.10",
|
||||||
"aarch64": "homeassistant/aarch64-base:3.10"
|
"i386": "homeassistant/i386-base:3.10"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
"DEHYDRATED_VERSION": "0.6.5"
|
"DEHYDRATED_VERSION": "0.6.5"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "1.10",
|
"version": "1.10",
|
||||||
"slug": "duckdns",
|
"slug": "duckdns",
|
||||||
"description": "Free Dynamic DNS (DynDNS or DDNS) service with Let's Encrypt support",
|
"description": "Free Dynamic DNS (DynDNS or DDNS) service with Let's Encrypt support",
|
||||||
"url": "https://www.home-assistant.io/addons/duckdns/",
|
"url": "https://github.com/home-assistant/hassio-addons/tree/master/duckdns",
|
||||||
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
||||||
"startup": "services",
|
"startup": "services",
|
||||||
"boot": "auto",
|
"boot": "auto",
|
||||||
|
|||||||
Reference in New Issue
Block a user