diff --git a/.woodpecker/docker-rel.yml b/.woodpecker/docker-rel.yml index cb7704a..3a66740 100644 --- a/.woodpecker/docker-rel.yml +++ b/.woodpecker/docker-rel.yml @@ -14,4 +14,5 @@ pipeline: secrets: - 'docker_username' - 'docker_password' - event: tag + when: + event: tag diff --git a/.woodpecker/docker.yml b/.woodpecker/docker.yml index fa97453..9883282 100644 --- a/.woodpecker/docker.yml +++ b/.woodpecker/docker.yml @@ -13,7 +13,8 @@ pipeline: secrets: - 'docker_username' - 'docker_password' - event: push + when: + event: push deploy: image: 'curlimages/curl' @@ -21,4 +22,5 @@ pipeline: - 'webhook_url' commands: - 'curl -XPOST -s --fail $WEBHOOK_URL' - event: push + when: + event: push