2023-08-14 07:32:57 +02:00
|
|
|
when:
|
|
|
|
- event: manual
|
|
|
|
- event: cron
|
|
|
|
cron: build_weekly
|
|
|
|
|
|
|
|
steps:
|
|
|
|
set-tags:
|
|
|
|
image: debian:12
|
|
|
|
commands:
|
|
|
|
- export TS=`date '+%Y%m%d%H%M%S'`
|
|
|
|
- echo "latest" > tags.txt
|
|
|
|
- echo "$TS" >> tags.txt
|
|
|
|
- cat tags.txt
|
2023-08-14 07:35:09 +02:00
|
|
|
deploy-forgejo:
|
2023-08-14 07:32:57 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
platforms: linux/amd64 #,linux/arm/v7,linux/arm64/v8
|
|
|
|
repo: code.lila.network/lauralani/netlify-cli
|
|
|
|
registry: code.lila.network
|
|
|
|
tags_file: ./tags.txt
|
|
|
|
username: lauralani
|
|
|
|
password:
|
|
|
|
from_secret: forgejo_token
|