Skip to content

Workflow file for this run

name: Release Package & Docker Images
on:
push:
branches:
- main
# - release
jobs:
setup-and-test:
uses: ./.github/workflows/unit-test.yml
with:
os: ubuntu-latest
secrets: inherit
publish-python-package:

Check failure on line 13 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release Package & Docker Images

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 13, Col: 3): Error calling workflow 'Admyral-Security/admyral/.github/workflows/publish-to-pypi.yml@3a7079a62cb4ea0f9be0f62a94aa39e140f9d1a8'. The nested job 'publish_to_pypi' is requesting 'id-token: write', but is only allowed 'id-token: none'.
if: github.repository == 'Admyral-Security/admyral'
needs:
- setup-and-test
uses: ./.github/workflows/publish-to-pypi.yml
secrets: inherit
publish-docker-images:
if: github.repository == 'Admyral-Security/admyral'
needs:
- setup-and-test
uses: ./.github/workflows/publish-docker-hub.yml
secrets: inherit
permissions:
id-token: write
contents: read