diff --git a/.woodpecker/build-docker.yml b/.woodpecker/build-docker.yml index 0ac0ec0..52a61cd 100644 --- a/.woodpecker/build-docker.yml +++ b/.woodpecker/build-docker.yml @@ -1,6 +1,6 @@ when: - event: - - manual + - tag steps: set-tags: diff --git a/.woodpecker/build-forgejo.yml b/.woodpecker/build-forgejo.yml new file mode 100644 index 0000000..8fba96c --- /dev/null +++ b/.woodpecker/build-forgejo.yml @@ -0,0 +1,24 @@ +when: + - event: manual + - event: cron + cron: build_weekly + +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 + docker-deploy-push: + image: woodpeckerci/plugin-docker-buildx + settings: + dockerfile: Dockerfile + platforms: linux/amd64 #,linux/arm/v7,linux/arm64/v8 + repo: code.lila.network/lauralani/netlify-cli + registry: code.lila.network + tags_file: ./tags.txt + username: lauralani + password: + from_secret: forgejo_token \ No newline at end of file