|
4 | 4 | workflow_dispatch:
|
5 | 5 | workflow_call:
|
6 | 6 |
|
| 7 | +env: |
| 8 | + IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} |
| 9 | + |
7 | 10 | concurrency:
|
8 | 11 | group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-iso
|
9 | 12 | cancel-in-progress: true
|
@@ -73,12 +76,19 @@ jobs:
|
73 | 76 |
|
74 | 77 | echo "flatpak-dir-shortname=${FLATPAK_DIR_SHORTNAME}" >> $GITHUB_OUTPUT
|
75 | 78 |
|
| 79 | + # Docker requires lowercase registry references |
| 80 | + - name: Lowercase Registry |
| 81 | + id: registry_case |
| 82 | + uses: ASzc/change-string-case-action@v6 |
| 83 | + with: |
| 84 | + string: ${{ env.IMAGE_REGISTRY }} |
| 85 | + |
76 | 86 | - name: Determine Flatpak Dependencies
|
77 | 87 | id: flatpak_dependencies
|
78 | 88 | shell: bash
|
79 | 89 | run: |
|
80 | 90 | set -ex
|
81 |
| - image="ghcr.io/ublue-os/${{ matrix.image_name }}:${{ steps.generate-tag.outputs.tag }}" |
| 91 | + image="${{ steps.registry_case.outputs.lowercase }}/${{ matrix.image_name }}:${{ steps.generate-tag.outputs.tag }}" |
82 | 92 | # Make temp space
|
83 | 93 | TEMP_FLATPAK_INSTALL_DIR=$(mktemp -d -p ${{ github.workspace }} flatpak.XXX)
|
84 | 94 | # Get list of refs from directory
|
@@ -116,11 +126,11 @@ jobs:
|
116 | 126 | with:
|
117 | 127 | arch: x86_64
|
118 | 128 | image_name: ${{ matrix.image_name }}
|
119 |
| - image_repo: ghcr.io/ublue-os |
| 129 | + image_repo: ${{ steps.registry_case.outputs.lowercase }} |
120 | 130 | variant: 'Kinoite'
|
121 | 131 | version: ${{ matrix.major_version }}
|
122 | 132 | image_tag: ${{ steps.generate-tag.outputs.tag }}
|
123 |
| - secure_boot_key_url: 'https://github.com/ublue-os/bazzite/raw/main/secure_boot.der' |
| 133 | + secure_boot_key_url: '${{ github.server_url }}/${{ github.repository }}/raw/main/secure_boot.der' |
124 | 134 | enrollment_password: 'universalblue'
|
125 | 135 | iso_name: ${{ matrix.image_name }}-${{ steps.generate-tag.outputs.tag }}.iso
|
126 | 136 | enable_cache_dnf: "false"
|
|
0 commit comments