Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch to official upstream images #687

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
type: string
env:
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
SOURCE_ORG: fedora

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ inputs.fedora_version }}
Expand All @@ -34,6 +35,20 @@ jobs:
- base
- lazurite
- vauxite
include:
- image_name: base
source_org: fedora-ostree-desktops
source_image: ${{ inputs.fedora_version != 40 && 'base-atomic' }}
- image_name: lazurite
source_org: fedora-ostree-desktops
source_image: ${{ inputs.fedora_version != 40 && 'lxqt-atomic' }}
- image_name: vauxite
source_org: fedora-ostree-desktops
source_image: ${{ inputs.fedora_version != 40 && 'xfce-atomic' }}
- image_name: sericea
source_image: fedora-sway-atomic
- image_name: onyx
source_image: fedora-budgie-atomic

steps:
# Checkout push-to-registry action GitHub repository
Expand All @@ -43,12 +58,17 @@ jobs:
- name: Matrix Variables
shell: bash
run: |
if [[ "${{ matrix.image_name }}" == "mate" ]]; then
echo "SOURCE_IMAGE=base" >> $GITHUB_ENV
// Overwrite the SOURCE_ORG if set in the matrix.
if [[ "${{ matrix.source_org }}" == "fedora-ostree-desktops" ]]; then
echo "SOURCE_ORG=${{ matrix.source_org }}" >> $GITHUB_ENV
fi

// Overwrite the SOURCE_IMAGE to prepend fedora- (the new naming convention)
p5 marked this conversation as resolved.
Show resolved Hide resolved
if [[ -n "${{ matrix.source_image }}" ]]; then
echo "SOURCE_IMAGE=fedora-${{ matrix.image_name }}" >> $GITHUB_ENV
else
echo "SOURCE_IMAGE=${{ matrix.image_name }}" >> $GITHUB_ENV
echo "SOURCE_IMAGE=${{ matrix.source_image }}" >> $GITHUB_ENV
fi
echo "SOURCE_ORG=fedora-ostree-desktops" >> $GITHUB_ENV
echo "IMAGE_NAME=${{ matrix.image_name }}-main" >> $GITHUB_ENV

- name: Generate tags
Expand Down
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG IMAGE_NAME="${IMAGE_NAME:-silverblue}"
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-silverblue}"
ARG SOURCE_ORG="${SOURCE_ORG:-fedora-ostree-desktops}"
ARG SOURCE_ORG="${SOURCE_ORG:-fedora}"
ARG BASE_IMAGE="quay.io/${SOURCE_ORG}/${SOURCE_IMAGE}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
ARG KERNEL_VERSION="${KERNEL_VERSION:-6.9.7-200.fc40.x86_64}"
Expand Down
Loading