Skip to content

Commit e3dbaea

Browse files
committed
refactor(ci): replace skopeo copy with gts build tags on stable
1 parent 8f3a94c commit e3dbaea

2 files changed

Lines changed: 3 additions & 21 deletions

File tree

.github/workflows/build-image-stable.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,3 @@ jobs:
3535
uses: ./.github/workflows/generate-release.yml
3636
with:
3737
stream_name: '["stable", "stable-daily"]'
38-
39-
repoint-gts:
40-
name: Repoint GTS Tags to Stable
41-
needs: [build-image-stable]
42-
if: github.event_name != 'pull_request'
43-
runs-on: ubuntu-24.04
44-
steps:
45-
- name: Login to GHCR
46-
run: |
47-
echo ${{ secrets.GITHUB_TOKEN }} | skopeo login ghcr.io -u ${{ github.actor }} --password-stdin
48-
49-
- name: Copy stable images to gts tag
50-
run: |
51-
for image in bluefin bluefin-dx bluefin-nvidia-open bluefin-dx-nvidia-open; do
52-
skopeo copy \
53-
docker://ghcr.io/ublue-os/${image}:stable \
54-
docker://ghcr.io/ublue-os/${image}:gts
55-
done

Justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,11 +626,11 @@ generate-build-tags image="bluefin" tag="latest" flavor="main" kernel_pin="" ghc
626626
# Weekly Stable / Rebuild Stable on workflow_dispatch
627627
github_event="{{ github_event }}"
628628
if [[ "{{ tag }}" =~ "stable" && "${WEEKLY}" == "${TODAY}" && "${github_event}" =~ schedule ]]; then
629-
BUILD_TAGS+=("stable" "stable-${version}" "stable-${version:3}")
629+
BUILD_TAGS+=("stable" "stable-${version}" "stable-${version:3}" "gts-${version}" "gts-${version:3}")
630630
elif [[ "{{ tag }}" =~ "stable" && "${github_event}" =~ workflow_dispatch|workflow_call ]]; then
631-
BUILD_TAGS+=("stable" "stable-${version}" "stable-${version:3}")
631+
BUILD_TAGS+=("stable" "stable-${version}" "stable-${version:3}" "gts-${version}" "gts-${version:3}")
632632
elif [[ "{{ tag }}" =~ "stable" && "{{ ghcr }}" == "0" ]]; then
633-
BUILD_TAGS+=("stable" "stable-${version}" "stable-${version:3}")
633+
BUILD_TAGS+=("stable" "stable-${version}" "stable-${version:3}" "gts-${version}" "gts-${version:3}")
634634
elif [[ ! "{{ tag }}" =~ stable|beta ]]; then
635635
BUILD_TAGS+=("${FEDORA_VERSION}" "${FEDORA_VERSION}-${version}" "${FEDORA_VERSION}-${version:3}")
636636
fi

0 commit comments

Comments
 (0)