This commit is contained in:
parent
6fac361ea1
commit
f7642d0be9
4 changed files with 40 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
LICENSE
|
||||
README.md
|
25
.woodpecker/build-dockerhub.yaml
Normal file
25
.woodpecker/build-dockerhub.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
when:
|
||||
- event: manual
|
||||
- event: cron
|
||||
cron: build_monthly
|
||||
|
||||
steps:
|
||||
set-tags:
|
||||
image: debian:12
|
||||
commands:
|
||||
- export TS=`date '+%Y%m%d'`
|
||||
- echo "$TS" >> tags.txt
|
||||
- echo "latest" >> tags.txt
|
||||
- cat tags.txt
|
||||
|
||||
deploy-dockerhub:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
|
||||
repo: docker.io/lauralani/octodns-deploy
|
||||
registry: docker.io
|
||||
tags_file: ./tags.txt
|
||||
username: lauralani
|
||||
password:
|
||||
from_secret: docker_token
|
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM python:alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
octodns == 1.0.0
|
||||
octodns_hetzner == 0.0.2
|
||||
octodns_ovh == 0.0.2
|
||||
octodns_cloudflare == 0.0.2
|
Loading…
Reference in a new issue