diff --git a/.woodpecker.yml b/.woodpecker.yml index 348b7af..da06c13 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,35 +1,5 @@ -variables: - IMAGE: flask-demo:latest - -volumes: - - name: dockersock - host: - path: /var/run/docker.sock - steps: - test: - image: python:3.11 + hello: + image: alpine:3.19 commands: - - pip install -r requirements.txt - - pytest -q - - build: - image: docker:27-cli - volumes: - - name: dockersock - path: /var/run/docker.sock - commands: - - docker build -t ${IMAGE} . - - deploy: - image: docker:27-cli - volumes: - - name: dockersock - path: /var/run/docker.sock - commands: - - docker compose up -d - when: - event: - - push - branch: - - main \ No newline at end of file + - echo ok