Skip to content

#11762: Add permissions to push docker image to ghcr registry #22

#11762: Add permissions to push docker image to ghcr registry

#11762: Add permissions to push docker image to ghcr registry #22

Workflow file for this run

name: "[post-commit] Build C++ binaries with all configs"
on:
workflow_call:
workflow_dispatch:
push:
branches: ["mchiou/11762*"]
permissions:
actions: read
contents: read
pages: write
id-token: write
packages: write
jobs:
static-checks:
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-docker-image-2004:

Check failure on line 20 in .github/workflows/build-wrapper.yaml

View workflow run for this annotation

GitHub Actions / [post-commit] Build C++ binaries with all configs

Invalid workflow file

The workflow is not valid. .github/workflows/build-wrapper.yaml (Line: 20, Col: 3): Error calling workflow 'tenstorrent/tt-metal/.github/workflows/build-docker-artifact.yaml@88c54ee54013765fa9e7e3e30e88b1299a4798c5'. The nested job 'build-docker-image' is requesting 'attestations: write', but is only allowed 'attestations: none'.
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
with:
os: ubuntu-20.04-amd64
build-docker-image-2204:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
with:
os: ubuntu-22.04-amd64
build:
needs: [build-docker-image-2004, build-docker-image-2204]
uses: ./.github/workflows/build.yaml
secrets: inherit