{header} when: - event: push branch: main {tag_event_line} 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)" {setup_comment} - sh {setup_script} {entrypoint_comment} - PUBLISH=1 nix run .#{app}{publish_flag}