lauralani
5bcfb3718a
All checks were successful
ci/woodpecker/cron/build-docker Pipeline was successful
37 lines
No EOL
989 B
YAML
37 lines
No EOL
989 B
YAML
when:
|
|
- event: manual
|
|
- event: cron
|
|
cron: build_weekly
|
|
|
|
steps:
|
|
set-tags:
|
|
image: debian:12
|
|
commands:
|
|
- export TS=`date '+%Y%m%d%H%M'`
|
|
- echo "$TS" >> tags.txt
|
|
- echo "latest" >> 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
|
|
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
|
|
password:
|
|
from_secret: docker_token |