mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-07 12:57:23 +00:00
chore(ci): Fix syntax issue preventing builds
This commit is contained in:
parent
8cba0af805
commit
e25ecac92f
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -233,6 +233,22 @@ jobs:
|
||||
sudo podman image rm ${{ env.IMAGE_REGISTRY }}/akmods:${{ matrix.kernel_flavor}}-${{ matrix.fedora_version }}
|
||||
sudo podman image rm ${{ env.IMAGE_REGISTRY }}/akmods-nvidia:${{ matrix.kernel_flavor}}-${{ matrix.fedora_version }}
|
||||
|
||||
# Generate the previous image reference used by the Rechunker
|
||||
- name: Generate previous reference
|
||||
id: generate-prev-ref
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "${{ github.event.inputs.fresh-rechunk }}" == "true" ]; then
|
||||
IMAGEREF=""
|
||||
else
|
||||
IMAGEREF="${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}"
|
||||
fi
|
||||
|
||||
echo "ref=${IMAGEREF}" >> $GITHUB_OUTPUT
|
||||
|
||||
echo "Generated the following:"
|
||||
cat $GITHUB_OUTPUT
|
||||
|
||||
# Reprocess raw-img using rechunker which will delete it
|
||||
- name: Run Rechunker
|
||||
id: rechunk
|
||||
@ -240,7 +256,7 @@ jobs:
|
||||
with:
|
||||
rechunk: 'ghcr.io/hhd-dev/rechunk:v0.8.3'
|
||||
ref: 'raw-img'
|
||||
prev-ref: ${{ github.event.inputs.fresh-rechunk == 'true' && '' || "${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:stable" }}
|
||||
prev-ref: ${{ steps.generate-prev-ref.outputs.ref }}
|
||||
version: '${{ steps.generate-version.outputs.tag }}'
|
||||
labels: |
|
||||
io.artifacthub.package.logo-url=https://raw.githubusercontent.com/ublue-os/bazzite/main/repo_content/logo.png
|
||||
|
Loading…
Reference in New Issue
Block a user