Skip to content

refactor: create org-wide build workflow #12

refactor: create org-wide build workflow

refactor: create org-wide build workflow #12

name: Build Kinoite 40
on:
pull_request:
env:
IMAGE_REGISTRY: ghcr.io/ublue-os
IMAGE_NAME: kinoite-main
SOURCE_IMAGE: kinoite
FEDORA_VERSION: 40
jobs:
generate_metadata:
uses: ./.github/workflows/reusable-generate-metadata.yml
with:
fedora-version: ${{ env.FEDORA_VERSION }}

Check failure on line 16 in .github/workflows/build-kinoite-40.yml

View workflow run for this annotation

GitHub Actions / Build Kinoite 40

Invalid workflow file

The workflow is not valid. .github/workflows/build-kinoite-40.yml (Line: 16, Col: 23): Unrecognized named-value: 'env'. Located at position 1 within expression: env.FEDORA_VERSION .github/workflows/build-kinoite-40.yml (Line: 17, Col: 23): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IMAGE_REGISTRY
image-registry: ${{ env.IMAGE_REGISTRY }}
image-name: ${{ env.IMAGE_NAME }}
is-gts: true
build:
uses: ./.github/workflows/reusable-build.yml
needs: generate_metadata
secrets: inherit
with:
image-registry: ${{ needs.generate_metadata.outputs.image-registry }}
image-name: ${{ needs.generate_metadata.outputs.image-name }}
platforms: amd64, arm64
build-args: ${{ needs.generate_metadata.outputs.build-args }}
tags: ${{ needs.generate_metadata.outputs.tags }}