From efb0ecf94244f202257fcbbc83a50da677fa6718 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Wed, 18 Sep 2024 22:13:18 -0700 Subject: [PATCH] Rename CI container to fedora-ci --- .github/workflows/build-image.yml | 5 ++++- .github/workflows/{fedora-dev.yml => fedora-ci.yml} | 6 +++--- {fedora-dev => fedora-ci}/Containerfile | 0 {fedora-dev => fedora-ci}/mock-defaults.cfg | 0 4 files changed, 7 insertions(+), 4 deletions(-) rename .github/workflows/{fedora-dev.yml => fedora-ci.yml} (53%) rename {fedora-dev => fedora-ci}/Containerfile (100%) rename {fedora-dev => fedora-ci}/mock-defaults.cfg (100%) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 89eadc1..6db0057 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -5,6 +5,9 @@ on: image_name: type: string required: true + tags: + type: string + required: true jobs: build-image: @@ -21,7 +24,7 @@ jobs: uses: redhat-actions/buildah-build@v2 with: image: ${{ env.IMAGE_NAME }} - tags: latest f40 ${{ github.sha }} + tags: ${{ inputs.tags }} context: ./${{ env.IMAGE_NAME }} containerfiles: | ${{ env.IMAGE_NAME }}/Containerfile diff --git a/.github/workflows/fedora-dev.yml b/.github/workflows/fedora-ci.yml similarity index 53% rename from .github/workflows/fedora-dev.yml rename to .github/workflows/fedora-ci.yml index 703fc1a..a79a775 100644 --- a/.github/workflows/fedora-dev.yml +++ b/.github/workflows/fedora-ci.yml @@ -1,11 +1,11 @@ -name: Build image 'fedora-dev' +name: Build image 'fedora-ci' on: push: branches: - main - - f40 jobs: build-image: uses: ./.github/workflows/build-image.yml with: - image_name: "fedora-dev" + image_name: "fedora-ci" + tags: unstable ${{ github.sha }} diff --git a/fedora-dev/Containerfile b/fedora-ci/Containerfile similarity index 100% rename from fedora-dev/Containerfile rename to fedora-ci/Containerfile diff --git a/fedora-dev/mock-defaults.cfg b/fedora-ci/mock-defaults.cfg similarity index 100% rename from fedora-dev/mock-defaults.cfg rename to fedora-ci/mock-defaults.cfg