25 lines
583 B
YAML
25 lines
583 B
YAML
|
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
|