From d65e6f1d24b02b30b9dffe7bd68d9edd00fcd2bc Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Tue, 12 Mar 2024 11:20:08 -0400 Subject: [PATCH] use 40 as base image --- .github/workflows/build-and-test.yml | 1 + Containerfile | 4 ++-- Makefile | 3 --- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e82b395..b6ed40c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -49,6 +49,7 @@ jobs: with: containerfiles: Containerfile tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} - name: Push image uses: redhat-actions/push-to-registry@v2 diff --git a/Containerfile b/Containerfile index f0b2174..fc097e5 100644 --- a/Containerfile +++ b/Containerfile @@ -1,6 +1,6 @@ -FROM fedora:39 +FROM fedora:40 -ARG VERSION=39 +ARG VERSION=40 ENV ARCH="x86_64" ENV IMAGE_NAME="base" diff --git a/Makefile b/Makefile index 5398b9e..91ba0b5 100644 --- a/Makefile +++ b/Makefile @@ -166,8 +166,6 @@ repos/%.repo: /etc/yum.repos.d/%.repo boot.iso: $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(_REPO_FILES) rm -Rf $(_BASE_DIR)/results || true mv /etc/rpm/macros.image-language-conf $(_TEMP_DIR)/macros.image-language-conf || true - cp /etc/os-release $(_TEMP_DIR)/os-release || true - sed -i 's/PLATFORM_ID=.*/PLATFORM_ID="$(_PLATFORM_ID)"/' /etc/os-release # Download the secure boot key if [ -n "$(SECURE_BOOT_KEY_URL)" ]; \ @@ -188,7 +186,6 @@ boot.iso: $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(_REPO_FILES) $(_BASE_DIR)/results/ mv $(_BASE_DIR)/results/images/boot.iso $(_BASE_DIR)/ mv -f $(_TEMP_DIR)/macros.image-language-conf /etc/rpm/macros.image-language-conf || true - mv -f $(_TEMP_DIR)/os-release /etc/os-release || true # Step 4: Download container image container/$(IMAGE_NAME)-$(IMAGE_TAG):