Skip to content

builder: New container image #6

builder: New container image

builder: New container image #6

Workflow file for this run

name: builder
on:
push:
pull_request:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/builder
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login
run: buildah login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}
- name: Build
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: latest
containerfiles: ./builder/Containerfile
archs: amd64, ppc64le, s390x, arm64
oci: true
context: builder
- name: Push
run: buildah push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}