diff --git a/.woodpecker.yml b/.woodpecker.yml index 29fe45db..db716814 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,8 +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 login $${REGISTRY} - - echo $PASS | docker login --username $USER --password-stdin + - echo $PASS | docker login --username $USER --password-stdin $${REGISTRY} - docker push $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR:-0}.$${PATCH-0} volumes: - /var/run/docker.sock:/var/run/docker.sock