netlify-cli/.woodpecker/build-docker.yml
lauralani 00fd5a97eb
Some checks failed
ci/woodpecker/manual/build-forgejo Pipeline failed
ci/woodpecker/cron/build-forgejo Pipeline was successful
add forgejo deploy
2023-08-14 07:32:57 +02:00

23 lines
No EOL
578 B
YAML

when:
- event:
- tag
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: hub.docker.com/lauralani/netlify-cli
registry: https://index.docker.io/v1/
tags_file: ./tags.txt
username: lauralani
password:
from_secret: docker_token