Compare commits
49 Commits
84141df93f
...
main
Author | SHA1 | Date | |
---|---|---|---|
ec53f6e68f | |||
9092f8a020 | |||
e2be80c029 | |||
fa32fb77c6 | |||
42f19c27ff | |||
fe9ff17d14 | |||
6e1a0b509c | |||
b538673069 | |||
5d4b4ff98c | |||
282db8c2cb | |||
abd6b3872c | |||
cb0c8c2a35 | |||
c7c56e001d | |||
2a3e9495e1 | |||
fd38d5f189 | |||
7c16d9a13f | |||
6d6ecc8a69 | |||
b0b4b0410f | |||
9a264e1ac2 | |||
110c895094 | |||
15fca90273 | |||
|
b6d64bd6ae | ||
daed7b92b4 | |||
58b169f6e0 | |||
bc3a76319b | |||
06894c215c | |||
deee8da21f | |||
1800c200f2 | |||
fcc03ee33a | |||
850333b7c0 | |||
a9d2dbab3e | |||
889fdba885 | |||
17b3ebe923 | |||
2a5406e0e4 | |||
bb22e6e779 | |||
d4e0141c8f | |||
f3f48f1575 | |||
d71fe03e42 | |||
8afe81c5d3 | |||
661ed95304 | |||
8d0c44e574 | |||
20403b84fd | |||
30fa0165b8 | |||
4390d59232 | |||
8b886326a7 | |||
7ecc1eb55c | |||
237812f6bc | |||
88fa40ab55 | |||
82d3e040a8 |
37
.gitea/workflows/build.yaml
Normal file
37
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
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.12-slim
|
||||
FROM python:3.13-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@@ -23,6 +23,7 @@ load_dotenv()
|
||||
prompt="Enter your Cloudflare Token",
|
||||
hide_input=True,
|
||||
show_envvar=True,
|
||||
envvar='CF_DDNS_TOKEN',
|
||||
help="Your Cloudflare Bearer token."
|
||||
)
|
||||
@click.option('-v', '--verbose', is_flag=True, default=False, help="Show debug logging.")
|
||||
|
@@ -114,7 +114,7 @@ class ApplicationJob(threading.Thread):
|
||||
domain = Domain(
|
||||
record_json["name"],
|
||||
record_json["type"],
|
||||
record_json["zone_id"],
|
||||
zone_json["id"],
|
||||
record_json["id"]
|
||||
)
|
||||
found_domains[f'{record_json["name"]}-{record_json["type"]}'] = domain
|
||||
|
@@ -1,9 +1,9 @@
|
||||
flake8~=7.1.0
|
||||
flake8~=7.2.0
|
||||
flake8-annotations~=3.1.1
|
||||
flake8-bugbear~=24.8.19
|
||||
flake8-bugbear~=24.12.12
|
||||
flake8-docstrings~=1.7.0
|
||||
flake8-import-order~=0.18.1
|
||||
flake8-import-order~=0.19.0
|
||||
flake8-string-format~=0.3.0
|
||||
flake8-tidy-imports~=4.10.0
|
||||
flake8-tidy-imports~=4.11.0
|
||||
flake8-todo~=0.7
|
||||
pep8-naming~=0.14.1
|
||||
pep8-naming~=0.15.1
|
||||
|
@@ -1,8 +1,9 @@
|
||||
certifi==2024.8.30
|
||||
certifi==2025.4.26
|
||||
chardet==5.2.0
|
||||
charset-normalizer==3.3.2
|
||||
click==8.1.7
|
||||
charset-normalizer==3.4.2
|
||||
click==8.2.1
|
||||
colorama==0.4.6
|
||||
idna==3.10
|
||||
requests==2.32.3
|
||||
urllib3==2.2.2
|
||||
python-dotenv==1.1.0
|
||||
requests==2.32.4
|
||||
urllib3==2.4.0
|
||||
|
Reference in New Issue
Block a user