diff --git a/.woodpecker.yml b/.woodpecker.yml index 6c92bcd..ccba858 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,12 +1,12 @@ -pipeline: - build: +steps: + - name: build image: docker:latest volumes: - /var/run/docker.sock:/var/run/docker.sock commands: - docker build -t codebreaker/caddy-keydb:latest . - deploy: + - name: deploy image: docker:latest volumes: - /var/run/docker.sock:/var/run/docker.sock @@ -15,4 +15,3 @@ pipeline: - docker stop caddy-extension || true - docker rm caddy-extension || true - docker run -d --name caddy-extension -p 80:80 codebreaker/caddy-keydb:latest -