learndrone/.woodpecker.yml
Pedro Pérez 1f6a42a581
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix
2025-05-29 23:41:02 +02:00

22 lines
447 B
YAML

when:
- event: push
branch: main
volumes:
- name: tmp
temp: {}
steps:
- name: build
image: golang:1.24
commands:
- mkdir -p ./tmp
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./tmp/learndrone ./main.go
- name: docker-build
image: docker:26.0.0
commands:
- docker build -t learndrone:latest ./tmp
# - name: deploy
# image: docker:26.0.0
# commands:
# - docker-compose up -d