platform: linux image_resource: type: docker-image source: repository: rust inputs: - name: repo params: CARGO_HOME: "../.cargo" caches: - path: .cargo - path: repo/target run: path: bash args: - -euo - pipefail - -c - | cd repo cargo publish --token "$CRATES_IO_TOKEN" || true