Revert "ci: Build & Publish Fedora Toolbx images with GitHub Packages"
This revert is done based on discussion happening around the PR that
originally added the change[0].
This reverts commit 818748001c
.
[0] https://github.com/containers/toolbox/pull/973
https://github.com/containers/toolbox/pull/1028
This commit is contained in:
parent
ecd1ced719
commit
9bffbb7e13
1 changed files with 0 additions and 59 deletions
59
.github/workflows/image-factory.yaml
vendored
59
.github/workflows/image-factory.yaml
vendored
|
@ -1,59 +0,0 @@
|
|||
name: Image Factory
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
env:
|
||||
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
|
||||
REGISTRY_USER: ${{ github.actor }}
|
||||
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
build-push-images:
|
||||
name: Build & Push Toolbx images
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
pool:
|
||||
- image: fedora-toolbox-36
|
||||
version: 36
|
||||
dir: fedora/f36
|
||||
|
||||
- image: fedora-toolbox-35
|
||||
version: 35
|
||||
dir: fedora/f35
|
||||
|
||||
- image: fedora-toolbox-34
|
||||
version: 34
|
||||
dir: fedora/f34
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Login to Registry
|
||||
uses: redhat-actions/podman-login@v1
|
||||
with:
|
||||
username: ${{ env.REGISTRY_USER }}
|
||||
password: ${{ env.REGISTRY_PASSWORD }}
|
||||
registry: ${{ env.IMAGE_REGISTRY }}
|
||||
|
||||
- name: Build Image
|
||||
id: build-image
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
with:
|
||||
containerfiles: ./images/${{ matrix.pool.dir }}/Containerfile
|
||||
context: ./images/${{ matrix.pool.dir }}
|
||||
image: ${{ matrix.pool.image }}
|
||||
oci: true
|
||||
tags: ${{ matrix.pool.version }}
|
||||
|
||||
# TODO: Testing of newly-created images
|
||||
|
||||
- name: Push Image
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
with:
|
||||
image: ${{ steps.build-image.outputs.image }}
|
||||
tags: ${{ steps.build-image.outputs.tags }}
|
||||
registry: ${{ env.IMAGE_REGISTRY }}
|
||||
|
Loading…
Reference in a new issue