This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v37.168.5 #602
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: Build and Push Image | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "35 */4 * * *" | |
workflow_dispatch: | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: centos/centos-bootc-dev | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [fedora, centos] | |
include: | |
- os: fedora | |
version: eln | |
- os: centos | |
version: stream9 | |
steps: | |
- name: Install qemu dependency | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y qemu-user-static | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Login to quay.io | |
run: buildah login --username ${{ secrets.QUAY_USER }} --password ${{ secrets.QUAY_PASSWORD }} quay.io | |
if: ${{ github.event_name != 'pull_request' }} | |
- name: Build | |
id: build | |
uses: redhat-actions/buildah-build@b4dc19b4ba891854660ab1f88a097d45aa158f76 # v2.12 | |
with: | |
image: quay.io/centos-bootc/${{ matrix.os }}-bootc-dev | |
tags: ${{ matrix.version }} | |
containerfiles: ./${{ matrix.version }}-dev/Containerfile | |
archs: amd64, arm64 | |
context: ${{ matrix.version }}-dev | |
- name: Push To quay.io | |
run: buildah manifest push --all ${{ steps.build.outputs.image-with-tag }} docker://${{ steps.build.outputs.image-with-tag }} | |
if: ${{ github.event_name != 'pull_request' }} |