Skip to content

fix: issues with docker build/publish not being triggered #3

fix: issues with docker build/publish not being triggered

fix: issues with docker build/publish not being triggered #3

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
outputs:
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
release-version: ${{ steps.semantic.outputs.release-version }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: npm install -g semantic-release conventional-changelog-conventionalcommits @semantic-release/exec
- name: Create Release
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
docker:

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

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 35, Col: 3): Error calling workflow 'sgfdevs/sgf.dev/.github/workflows/docker-publish.yml@4c2f35e24e3f0590bf33ec32382c90ee6744c446'. The nested job 'build-and-push' is requesting 'packages: write', but is only allowed 'packages: none'.
needs: release
if: ${{ needs.release.outputs.new-release-published == 'true' }}
uses: ./.github/workflows/docker-publish.yml
with:
version: ${{ needs.release.outputs.release-version }}
secrets: inherit