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