diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..db2aef4 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +tags.txt \ No newline at end of file diff --git a/.woodpecker/build-docker.yml b/.woodpecker/build-docker.yml new file mode 100644 index 0000000..59f0c92 --- /dev/null +++ b/.woodpecker/build-docker.yml @@ -0,0 +1,21 @@ +when: + - event: + - manual + +steps: + set-tags: + image: debian:12 + commands: + - export TS=`date '+%Y%m%d%H%M%S'` + - echo "latest, $TS" >> tags.txt + docker-deploy-push: + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: Dockerfile + platforms: linux/arm/v7,linux/arm64/v8,linux/amd64 + repo: code.lila.network/lauralani/netlify-cli + registry: https://index.docker.io/v1/ + tags_file: ./tags.txt + username: lauralani + password: + from_secret: docker_token \ No newline at end of file