update CI
Some checks failed
ci/woodpecker/cron/build-docker Pipeline failed

This commit is contained in:
Adora Laura Kalb 2023-08-14 07:46:05 +02:00
parent 1a3a17a740
commit 1dcc4e73d7
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056
2 changed files with 21 additions and 31 deletions

View file

@ -1,21 +1,35 @@
when:
- event:
- tag
- 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
- export TS=`date '+%Y%m%d%H%M'`
- echo "$TS" >> tags.txt
- echo "latest" > tags.txt
- cat tags.txt
deploy-dockerhub:
deploy-forgejo:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/amd64 #, linux/arm/v7,linux/arm64/v8
# repo: hub.docker.com/lauralani/netlify-cli
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
deploy-dockerhub:
when:
- event: tag
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
repo: hub.docker.com/lauralani/netlify-cli
registry: https://index.docker.io/v1/
tags_file: ./tags.txt
username: lauralani

View file

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