From 48f0f1efcdfa0a15397072732a770ac0d5f5678b Mon Sep 17 00:00:00 2001 From: lauralani Date: Mon, 14 Aug 2023 10:31:55 +0200 Subject: [PATCH] update CI --- .woodpecker/build-docker.yml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.woodpecker/build-docker.yml b/.woodpecker/build-docker.yml index 5b71dbb..4db863b 100644 --- a/.woodpecker/build-docker.yml +++ b/.woodpecker/build-docker.yml @@ -11,27 +11,29 @@ steps: - echo "$TS" >> tags.txt - echo "latest" >> tags.txt - cat tags.txt - deploy-forgejo: - when: - - event: tag - 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 + deploy-dockerhub: image: woodpeckerci/plugin-docker-buildx settings: dockerfile: Dockerfile platforms: linux/amd64,linux/arm/v7,linux/arm64/v8 - repo: lauralani/netlify-cli - # registry: https://index.docker.io/v1/ + repo: docker.io/lauralani/netlify-cli + registry: docker.io tags_file: ./tags.txt username: lauralani password: - from_secret: docker_token \ No newline at end of file + from_secret: docker_token + +# deploy-forgejo: +# when: +# - event: tag +# 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