diff --git a/.github/workflows/crontab_new_template_renewal.yml b/.github/workflows/crontab_new_template_renewal.yml index 0b46f4ee..c2db82fb 100644 --- a/.github/workflows/crontab_new_template_renewal.yml +++ b/.github/workflows/crontab_new_template_renewal.yml @@ -51,6 +51,3 @@ jobs: uses: peter-evans/create-pull-request@v7 with: title: update `cargo near new` template `image` and `image_digest` - env: - # https://github.com/peter-evans/create-pull-request/issues/48#issuecomment-536204092 - GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} diff --git a/cargo-near/src/commands/new/new-project-template/Cargo.toml.template b/cargo-near/src/commands/new/new-project-template/Cargo.toml.template index 22fa32ef..6551d104 100644 --- a/cargo-near/src/commands/new/new-project-template/Cargo.toml.template +++ b/cargo-near/src/commands/new/new-project-template/Cargo.toml.template @@ -18,6 +18,10 @@ crate-type = ["cdylib", "rlib"] image = "sourcescan/cargo-near:0.10.1-rust-1.82.0" # tag after colon above serves only descriptive purpose; image is identified by digest image_digest = "sha256:48206ab74c774cb03394ef84f0c5e0b458a071331164b5da853de06f3510cbf8" +# list of environment variables names, whose values, if set, will be used as external build parameters +# in a reproducible manner +# supported by `sourcescan/cargo-near:0.10.1-rust-1.82.0` image or later images +passed_env = [] # build command inside of docker container # if docker image from default gallery is used https://hub.docker.com/r/sourcescan/cargo-near/tags, # the command may be any combination of flags of `cargo-near`,