mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 09:32:55 +00:00
Merge branch 'main' into testing
This commit is contained in:
commit
f2e09d9dc0
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -160,7 +160,7 @@ jobs:
|
|||||||
uses: ublue-os/remove-unwanted-software@v7
|
uses: ublue-os/remove-unwanted-software@v7
|
||||||
|
|
||||||
- name: Pull main, akmods, rechunk images
|
- name: Pull main, akmods, rechunk images
|
||||||
uses: Wandalen/wretry.action@v3.5.0
|
uses: Wandalen/wretry.action@v3.7.0
|
||||||
with:
|
with:
|
||||||
attempt_limit: 3
|
attempt_limit: 3
|
||||||
attempt_delay: 15000
|
attempt_delay: 15000
|
||||||
@ -176,7 +176,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get source versions
|
- name: Get source versions
|
||||||
id: labels
|
id: labels
|
||||||
uses: Wandalen/wretry.action@v3.5.0
|
uses: Wandalen/wretry.action@v3.7.0
|
||||||
with:
|
with:
|
||||||
attempt_limit: 3
|
attempt_limit: 3
|
||||||
attempt_delay: 15000
|
attempt_delay: 15000
|
||||||
@ -361,7 +361,7 @@ jobs:
|
|||||||
BUILD_TAGS+=("stable-${FEDORA_VERSION}") # flip ver to be last
|
BUILD_TAGS+=("stable-${FEDORA_VERSION}") # flip ver to be last
|
||||||
|
|
||||||
if [ -n "$LATEST" ]; then
|
if [ -n "$LATEST" ]; then
|
||||||
BUILD_TAGS+=("latest" "stable")
|
BUILD_TAGS+=("latest" "edge")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ jobs:
|
|||||||
|
|
||||||
# Push the image to GHCR (Image Registry)
|
# Push the image to GHCR (Image Registry)
|
||||||
- name: Push To GHCR
|
- name: Push To GHCR
|
||||||
uses: Wandalen/wretry.action@v3.5.0
|
uses: Wandalen/wretry.action@v3.7.0
|
||||||
id: push
|
id: push
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
with:
|
with:
|
||||||
|
62
.github/workflows/promote.yml
vendored
Normal file
62
.github/workflows/promote.yml
vendored
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
name: Promote Edge builds to Stable
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-promote
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
promote:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
image_name:
|
||||||
|
- bazzite
|
||||||
|
- bazzite-nvidia
|
||||||
|
- bazzite-nvidia-open
|
||||||
|
- bazzite-gnome
|
||||||
|
- bazzite-gnome-nvidia
|
||||||
|
- bazzite-gnome-nvidia-open
|
||||||
|
- bazzite-deck
|
||||||
|
- bazzite-deck-gnome
|
||||||
|
- bazzite-ally
|
||||||
|
- bazzite-ally-gnome
|
||||||
|
- bazzite-asus
|
||||||
|
- bazzite-gnome-asus
|
||||||
|
- bazzite-asus-nvidia
|
||||||
|
- bazzite-gnome-asus-nvidia
|
||||||
|
- bazzite-asus-nvidia-open
|
||||||
|
- bazzite-gnome-asus-nvidia-open
|
||||||
|
major_version: [40]
|
||||||
|
steps:
|
||||||
|
- name: Login to GHCR
|
||||||
|
run: echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||||
|
|
||||||
|
# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR.
|
||||||
|
# https://github.com/macbre/push-to-ghcr/issues/12
|
||||||
|
- name: Lowercase Registry
|
||||||
|
id: registry_case
|
||||||
|
uses: ASzc/change-string-case-action@v6
|
||||||
|
with:
|
||||||
|
string: ${{ env.IMAGE_REGISTRY }}
|
||||||
|
|
||||||
|
- name: Push Edge to Stable
|
||||||
|
uses: Wandalen/wretry.action@v3.5.0
|
||||||
|
id: push
|
||||||
|
env:
|
||||||
|
REGISTRY_USER: ${{ github.actor }}
|
||||||
|
REGISTRY_PASSWORD: ${{ github.token }}
|
||||||
|
with:
|
||||||
|
attempt_limit: 3
|
||||||
|
attempt_delay: 15000
|
||||||
|
commands: |
|
||||||
|
sudo skopeo copy \
|
||||||
|
${{ steps.registry_case.outputs.lowercase }}/${{ matrix.image_name }}:edge \
|
||||||
|
${{ steps.registry_case.outputs.lowercase }}/${{ matrix.image_name }}:stable
|
Loading…
x
Reference in New Issue
Block a user