forked from Mirrors/cloudflare-ddns-docker
Compare commits
1 Commits
renovate/c
...
80fb03975d
Author | SHA1 | Date | |
---|---|---|---|
80fb03975d |
@ -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,19 +0,0 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
@ -1 +0,0 @@
|
||||
[]
|
@ -1,4 +1,4 @@
|
||||
FROM python:3.13-slim
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@ -1,14 +1,13 @@
|
||||
import logging
|
||||
from os import environ
|
||||
from typing import Tuple
|
||||
from dotenv import load_dotenv
|
||||
|
||||
import click
|
||||
from cloudflare_ddns.app import ApplicationJob
|
||||
from cloudflare_ddns.constants import BASE_ENV_VAR, DEFAULT_DELAY, DOMAINS_ENV_VAR
|
||||
|
||||
log = logging.getLogger("ddns")
|
||||
load_dotenv()
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.option(
|
||||
@ -23,7 +22,6 @@ 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"],
|
||||
zone_json["id"],
|
||||
record_json["zone_id"],
|
||||
record_json["id"]
|
||||
)
|
||||
found_domains[f'{record_json["name"]}-{record_json["type"]}'] = domain
|
||||
|
@ -1,9 +1,5 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
|
||||
"forkProcessing": "enabled",
|
||||
|
||||
"ignorePaths": [
|
||||
".github"
|
||||
]
|
||||
"includeForks": true
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
flake8~=7.2.0
|
||||
flake8-annotations~=3.1.1
|
||||
flake8-bugbear~=24.12.12
|
||||
flake8~=3.8.4
|
||||
flake8-annotations~=2.4.1
|
||||
flake8-bugbear~=20.1.4
|
||||
flake8-docstrings~=1.7.0
|
||||
flake8-import-order~=0.18.1
|
||||
flake8-string-format~=0.3.0
|
||||
flake8-tidy-imports~=4.11.0
|
||||
flake8-tidy-imports~=4.1.0
|
||||
flake8-todo~=0.7
|
||||
pep8-naming~=0.14.1
|
||||
pep8-naming~=0.11.1
|
||||
|
@ -1,9 +1,8 @@
|
||||
certifi==2025.1.31
|
||||
chardet==5.2.0
|
||||
charset-normalizer==3.4.1
|
||||
click==8.2.0
|
||||
certifi==2024.6.2
|
||||
chardet==4.0.0
|
||||
charset-normalizer==3.3.2
|
||||
click==8.1.0
|
||||
colorama==0.4.6
|
||||
idna==3.10
|
||||
python-dotenv==1.1.0
|
||||
idna==2.10
|
||||
requests==2.32.3
|
||||
urllib3==2.4.0
|
||||
urllib3==1.26.18
|
||||
|
Reference in New Issue
Block a user