Container Images #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Container Images | |
on: | |
workflow_dispatch: | |
inputs: | |
image: | |
description: Name of the image to build and push to quay.io | |
required: true | |
type: choice | |
options: | |
- build-base | |
- integration-test-base | |
jobs: | |
build_container: | |
runs-on: ubuntu-latest | |
container: | |
image: quay.io/centos/centos:stream9 | |
steps: | |
- name: Install dependencies | |
run: | | |
dnf install \ | |
buildah \ | |
-y | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Build manifest | |
run: | | |
./build-scripts/build-push-containers.sh ${{ inputs.image }} | |
- name: Push manifest o quay.io | |
uses: redhat-actions/push-to-registry@v2 | |
with: | |
image: ${{ inputs.image }} | |
registry: quay.io/bluechi | |
username: bluechi+bluechi_bot | |
password: ${{ secrets.QUAY_BOT_API_TOKEN }} |