From c75fc3ba4e2adab03aa457b28443d8108e671523 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Sun, 10 Dec 2023 17:09:24 +0800 Subject: [PATCH] =?UTF-8?q?CI=E8=87=AA=E5=8A=A8=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..8d103b7 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,13 @@ +steps: + build: + image: docker + commands: + - docker build . --rm -t git.zhaozuohong.vip/zhao/docker-hugo-ext + - docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD git.zhaozuohong.vip + - docker push git.zhaozuohong.vip/zhao/docker-hugo-ext + - docker rmi git.zhaozuohong.vip/zhao/docker-hugo-ext + volumes: + - /var/run/docker.sock:/var/run/docker.sock + secrets: + - registry_username + - registry_password