add forgejo deploy
Some checks failed
ci/woodpecker/manual/build-forgejo Pipeline failed
ci/woodpecker/cron/build-forgejo Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2023-08-14 07:32:57 +02:00
parent 8fb101754d
commit 00fd5a97eb
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056
2 changed files with 25 additions and 1 deletions

View file

@ -1,6 +1,6 @@
when:
- event:
- manual
- tag
steps:
set-tags:

View file

@ -0,0 +1,24 @@
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
docker-deploy-push:
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