Skip to content

🚀 Release Image

🚀 Release Image #2

Workflow file for this run

name: 🚀 Release Image
on:
release:
types: [published]
permissions:
# Both required for nested job in image_build workflow
contents: read
packages: write
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:
uses: hotosm/gh-workflows/.github/workflows/[email protected]
with:
build_target: release
image_name: ghcr.io/${{ needs.prep.outputs.repo }}