branches: [main] matrix: BUILD_TARGET: - aarch64-unknown-linux-gnu - x86_64-unknown-linux-gnu steps: build: image: git.nikos.gg/prymn/rust/aarch64:latest # when: # - path: "agent/src/*" commands: - protoc --version - cd agent - cargo build --release --target "${BUILD_TARGET}" - mkdir -p "dist/${BUILD_TARGET}" - cp "target/${BUILD_TARGET}/release/prymn_agent" "dist/${BUILD_TARGET}" release-binaries: image: woodpeckerci/plugin-s3 # when: # - path: "agent/src/*" settings: bucket: prymn-static endpoint: https://75178f9eca227dea51b3db4db2c15a5a.r2.cloudflarestorage.com access_key: from_secret: r2_access_key secret_key: from_secret: r2_secret_key source: agent/dist/**/* target: /