From 020ba42c6edc20d35f7b2f8c492e822267756279 Mon Sep 17 00:00:00 2001 From: actualben Date: Wed, 13 Nov 2024 15:03:36 +0100 Subject: [PATCH] revert aa501f68681af96c6de7ac9cbcb74e28c566c3dd I wanted to use something like this: ```yaml jobs: image: # https://docs.github.com/en/actions/examples/using-scripts-to-test-your-code-on-a-runner#example-workflow runs-on: ${{ fromJSON(inputs.runs_on) }} permissions: packages: ${{ inputs.github_org != '' && 'write' || 'read' }} ``` ...but we can't use inputs here. I don't want to force GHCR use, so I'll pull this back. --- .github/workflows/dockerimage.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index e56ee4e..0da1a8e 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -114,8 +114,6 @@ jobs: image: # https://docs.github.com/en/actions/examples/using-scripts-to-test-your-code-on-a-runner#example-workflow runs-on: ${{ fromJSON(inputs.runs_on) }} - permissions: - packages: write outputs: tags: |- ${{ steps.meta.outputs.tags }}