diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..4b6258f --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,21 @@ +kind: pipeline +type: docker +name: build-and-push + +trigger: + event: + - push + +steps: + - name: build + image: docker + commands: + - docker build -t forge.citizen4.eu/miklo/ci-test:${CI_COMMIT_SHA} . + + - name: push + image: plugins/docker + settings: + registry: forge.citizen4.eu + repo: ${CI_REPO} + tags: ${CI_COMMIT_SHA} + secrets: [docker_username, docker_password] \ No newline at end of file