netlify-cli/.woodpecker/build-docker.yml

23 lines
590 B
YAML
Raw Normal View History

2023-08-12 15:21:31 +02:00
when:
- event:
- manual
steps:
set-tags:
image: debian:12
commands:
- export TS=`date '+%Y%m%d%H%M%S'`
2023-08-12 15:28:22 +02:00
- echo "latest" > tags.txt
- echo "$TS" >> tags.txt
- cat tags.txt
2023-08-12 15:21:31 +02:00
docker-deploy-push:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
2023-08-13 10:20:16 +02:00
platforms: linux/amd64, # linux/arm/v7,linux/arm64/v8
2023-08-13 10:19:22 +02:00
repo: registry.hub.docker.com/r/lauralani/netlify-cli
2023-08-12 15:21:31 +02:00
registry: https://index.docker.io/v1/
tags_file: ./tags.txt
username: lauralani
password:
from_secret: docker_token