diff --git a/.woodpecker.yml b/.woodpecker.yml index 279620a..1754e21 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,18 +1,15 @@ -kind: pipeline -name: default +when: + - event: push + branch: main steps: - - name: build-and-push - image: appleboy/drone-docker # This plugin handles the "Inception" part for you - settings: - registry: registry.coolify1.workaround.org - repo: registry.coolify1.workaround.org/debshots - username: - from_secret: REGISTRY_USER - password: - from_secret: REGISTRY_PASSWORD - dockerfile: Dockerfile - tags: - - latest - - ${CI_COMMIT_SHA:0:7} # Clean short-hash tagging - # This plugin automatically uses a dedicated volume for caching layers + - name: build + image: debian + commands: + - echo "This is the build step" + - echo "binary-data-123" > executable + - name: a-test-step + image: golang:1.16 + commands: + - echo "Testing ..." + - ./executable