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:52 +02:00
|
|
|
platforms: linux/amd64 #, linux/arm/v7,linux/arm64/v8
|
2023-08-13 10:22:59 +02:00
|
|
|
repo: 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
|