Skip to content

Commit

Permalink
feat: Update diskimg workflow to use inputs for artifact naming and m…
Browse files Browse the repository at this point in the history
…anifest path
  • Loading branch information
korewaChino committed May 25, 2024
1 parent de3f6e0 commit 2f85f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/diskimg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ jobs:
- name: Set output artifact name
run: |
PREFIX="ultramarine-linux-${{ matrix.arch }}"
name=$(echo $PREFIX-${{ github.event.inputs.edition }} | sed 's/\//-/g')
name=$(echo $PREFIX-${{ inputs.edition }} | sed 's/\//-/g')
echo artifact=$name >> $GITHUB_ENV
- name: Build image
run: |
set -euxo pipefail
chcon system_u:object_r:install_exec_t:s0 "$(which katsu)"
# Resolve path to manifest
manifest_path="katsu/${{ github.event.inputs.manifest_path }}-${{ matrix.arch }}.yaml"
manifest_path="katsu/${{ inputs.manifest_path }}-${{ matrix.arch }}.yaml"
echo "Using manifest: $manifest_path"
export KATSU_LOG=trace
katsu -v --output=disk-image $manifest_path
Expand Down

0 comments on commit 2f85f21

Please sign in to comment.