Skip to content

🚀 Release Image

🚀 Release Image #1

Workflow file for this run

name: 🚀 Release Image
on:
release:
types: [published]
permissions:
packages: write # Required for nested job in image_build workflow
jobs:
prep:
runs-on: ubuntu-latest
outputs:
repo: ${{ steps.set_repo.outputs.repo }}
steps:
- name: Lowercase GITHUB_REPOSITORY
id: set_repo
run: |
repo=$(echo "$GITHUB_REPOSITORY" | tr '[:upper:]' '[:lower:]')
echo "repo=$repo" >> "$GITHUB_OUTPUT"
container-img:

Check failure on line 22 in .github/workflows/release_image.yml

View workflow run for this annotation

GitHub Actions / 🚀 Release Image

Invalid workflow file

The workflow is not valid. .github/workflows/release_image.yml (Line: 22, Col: 3): Error calling workflow 'hotosm/gh-workflows/.github/workflows/[email protected]'. The nested job 'build-image' is requesting 'contents: read', but is only allowed 'contents: none'.
uses: hotosm/gh-workflows/.github/workflows/[email protected]
with:
build_target: release
image_name: ghcr.io/${{ needs.prep.outputs.repo }}