From 74704680775227c20f05e1f478ed5cdde00cf7c8 Mon Sep 17 00:00:00 2001 From: nikurasu Date: Mon, 18 Mar 2024 13:53:05 +0100 Subject: [PATCH] feat(ci): add docker push test --- .woodpecker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 97877ff2..822e7760 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,6 +9,7 @@ steps: - MINOR=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 2) - PATCH=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 3) - docker buildx build -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR:-0}.$${PATCH-0} -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR} -t $${REGISTRY}/$$REPO:v$${MAJOR:-0} -t $${REGISTRY}/$$REPO:latest . + - docker push $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR:-0}.$${PATCH-0} volumes: - /var/run/docker.sock:/var/run/docker.sock when: