23 lines
No EOL
576 B
YAML
23 lines
No EOL
576 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
|
|
deploy-dockerhub:
|
|
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 |