staticwebapps-cli/.woodpecker/build-docker.yml
lauralani 135804c6bf
All checks were successful
ci/woodpecker/cron/build-docker Pipeline was successful
Update .woodpecker/build-docker.yml
2023-09-28 17:40:59 +02:00

25 lines
No EOL
557 B
YAML

when:
- event: manual
- event: cron
cron: build_weekly
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
repo: docker.io/lauralani/staticwebapps-cli
registry: docker.io
tags_file: ./tags.txt
username: lauralani
password:
from_secret: docker_token