diff --git a/.woodpecker.yml b/.woodpecker.yml index ec11715..b8b9a2d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,9 +1,14 @@ pipeline: build: + when: + event: [push, pull_request, tag, deployment] image: golang:latest commands: - go build -o segfautils - dockerize: + dockerize_n_publish: + when: + event: [push, tag, deployment] + name: dockerize and publish image: plugins/docker settings: username: