From 2c26a5bff821997d6a61a8d95d1f16ff8db1634b Mon Sep 17 00:00:00 2001 From: lauralani Date: Sat, 12 Aug 2023 15:21:31 +0200 Subject: [PATCH] add ci stuff --- .dockerignore | 1 + .woodpecker/build-docker.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .dockerignore create mode 100644 .woodpecker/build-docker.yml 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