{header} when: - event: push branch: main - event: tag clone: - name: clone image: woodpeckerci/plugin-git environment: CI_NETRC_MACHINE: {git_host} CI_NETRC_USERNAME: oleks CI_NETRC_PASSWORD: from_secret: gitea_clone_token PLUGIN_TAGS: "false" PLUGIN_DEPTH: "1" steps: - name: build-{arch} image: {image} environment: ATTIC_TOKEN: from_secret: attic_token GITEA_CLONE_TOKEN: from_secret: gitea_clone_token backend_options: kubernetes: nodeSelector: kubernetes.io/arch: {arch} labels: commit-tag: "${{CI_COMMIT_TAG}}" commit-branch: "${{CI_COMMIT_BRANCH}}" pipeline-number: "${{CI_PIPELINE_NUMBER}}" commands: - echo "▸ arch=$(uname -m)" # nix.conf substituters + {git_host} netrc (to fetch the parity-lib # flake input). Same bootstrap as flake-hub/ci/setup.sh. - sh {setup_script} {entrypoint_comment} - PUBLISH=1 nix run .#{app} -- --publish