steps: - name: test/build-binary/linux-amd64 image: golang:1.24.2 environment: I_PACKAGE: "git.hackmi.ch/Phil/goshorly/utils" CGO_ENABLED: 0 commands: - export CI_COMMIT_SHA=${CI_COMMIT_SHA} - go build -a -installsuffix cgo -ldflags=" -X $I_PACKAGE.CI_COMMIT_SHA=$CI_COMMIT_SHA -X $I_PACKAGE.CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH -X $I_PACKAGE.CI_COMMIT_TAG=$CI_COMMIT_TAG" -o app . - name: test/build-docker/linux-amd64 image: woodpeckerci/plugin-docker-buildx:5.2.2 environment: I_PACKAGE: "git.hackmi.ch/Phil/goshorly/utils" CGO_ENABLED: 0 settings: dry-run: true repo: git.hackmi.ch/phil/goshorly registry: git.hackmi.ch platforms: linux/amd64 services: docker-daemon: image: docker:28.0-dind commands: - dockerd --tls=false --host=tcp://0.0.0.0:2376 privileged: true when: - event: [push, cron] branch: [main, develop] - event: pull_request depends_on: - 0-pre