From 545fc859913564f9f7414a2f70b602047a8b305f Mon Sep 17 00:00:00 2001 From: apple Date: Mon, 25 Sep 2023 11:48:21 +0200 Subject: [PATCH] Update pipeline syntax! --- .woodpecker/.build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 73eda28..a9d1ae9 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -1,6 +1,6 @@ -pipeline: +steps: build_and_deploy: - image: alpine:3.14 + image: alpine:3 secrets: [docker_password, docker_username, runner_private_key] commands: - apk add --no-cache openssh docker docker-compose jq @@ -23,4 +23,5 @@ pipeline: volumes: - /var/run/docker.sock:/var/run/docker.sock -branches: main \ No newline at end of file +when: + branch: main