forked from Mirrors/cloudflare-ddns-docker
Compare commits
1 Commits
main
...
bcbd5caad8
Author | SHA1 | Date | |
---|---|---|---|
bcbd5caad8 |
@ -1,37 +0,0 @@
|
|||||||
name: Build Docker Image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- testing
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: catthehacker/ubuntu:act-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Login to Docker registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.home.timatlee.com
|
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Build and push
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
tags: git.home.timatlee.com/timatlee/cloudflare-ddns:latest
|
|
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.13-slim
|
FROM python:3.12-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ load_dotenv()
|
|||||||
prompt="Enter your Cloudflare Token",
|
prompt="Enter your Cloudflare Token",
|
||||||
hide_input=True,
|
hide_input=True,
|
||||||
show_envvar=True,
|
show_envvar=True,
|
||||||
envvar='CF_DDNS_TOKEN',
|
|
||||||
help="Your Cloudflare Bearer token."
|
help="Your Cloudflare Bearer token."
|
||||||
)
|
)
|
||||||
@click.option('-v', '--verbose', is_flag=True, default=False, help="Show debug logging.")
|
@click.option('-v', '--verbose', is_flag=True, default=False, help="Show debug logging.")
|
||||||
|
@ -114,7 +114,7 @@ class ApplicationJob(threading.Thread):
|
|||||||
domain = Domain(
|
domain = Domain(
|
||||||
record_json["name"],
|
record_json["name"],
|
||||||
record_json["type"],
|
record_json["type"],
|
||||||
zone_json["id"],
|
record_json["zone_id"],
|
||||||
record_json["id"]
|
record_json["id"]
|
||||||
)
|
)
|
||||||
found_domains[f'{record_json["name"]}-{record_json["type"]}'] = domain
|
found_domains[f'{record_json["name"]}-{record_json["type"]}'] = domain
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
flake8~=7.2.0
|
flake8~=7.0.0
|
||||||
flake8-annotations~=3.1.1
|
flake8-annotations~=2.4.1
|
||||||
flake8-bugbear~=24.12.12
|
flake8-bugbear~=24.4.26
|
||||||
flake8-docstrings~=1.7.0
|
flake8-docstrings~=1.5.0
|
||||||
flake8-import-order~=0.18.1
|
flake8-import-order~=0.18.1
|
||||||
flake8-string-format~=0.3.0
|
flake8-string-format~=0.3.0
|
||||||
flake8-tidy-imports~=4.11.0
|
flake8-tidy-imports~=4.1.0
|
||||||
flake8-todo~=0.7
|
flake8-todo~=0.7
|
||||||
pep8-naming~=0.14.1
|
pep8-naming~=0.14.1
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
certifi==2025.1.31
|
certifi==2024.6.2
|
||||||
chardet==5.2.0
|
chardet==5.2.0
|
||||||
charset-normalizer==3.4.1
|
charset-normalizer==3.3.2
|
||||||
click==8.1.8
|
click==8.1.7
|
||||||
colorama==0.4.6
|
colorama==0.4.6
|
||||||
idna==3.10
|
idna==3.7
|
||||||
python-dotenv==1.1.0
|
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
urllib3==2.4.0
|
urllib3==2.2.1
|
||||||
|
Reference in New Issue
Block a user