mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:54:09 -04:00
- Only calls DNS API(s) once the public IP address changes - Only one ip method per ip version (ipv4, ipv6, ipv4/v6) - Gets the ip address once every period for all records - More object oriented coding instead of functional - Support to update ipv4 and ipv6 records separately, for supported DNS providers
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
name: Buildx latest
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
paths-ignore:
|
|
- .github/workflows/buildx-release.yml
|
|
- .github/workflows/dockerhub-description.yml
|
|
- .github/workflows/greetings.yml
|
|
- .github/workflows/labels.yml
|
|
- .github/workflows/misspell.yml
|
|
- .github/workflows/security.yml
|
|
- .dockerignore
|
|
- .gitignore
|
|
- docker-compose.yml
|
|
- LICENSE
|
|
- README.md
|
|
- title.svg
|
|
jobs:
|
|
buildx:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Buildx setup
|
|
uses: crazy-max/ghaction-docker-buildx@v1
|
|
- name: Dockerhub login
|
|
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u qmcgaw --password-stdin 2>&1
|
|
- name: Run Buildx
|
|
run: |
|
|
docker buildx build \
|
|
--progress plain \
|
|
--platform=linux/amd64,linux/386,linux/arm64,linux/arm/v7 \
|
|
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
|
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
|
--build-arg VERSION=latest \
|
|
-t qmcgaw/ddns-updater:latest \
|
|
--push \
|
|
.
|
|
- run: curl -X POST https://hooks.microbadger.com/images/qmcgaw/ddns-updater/t2fcZxog8ce_kJYJ61JjkYwHF5s= || exit 0
|