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

23 lines
585 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
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
2023-08-12 15:35:35 +02:00
repo: registry.hub.docker.com/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