Skip to content

Merge pull request #1460 from coreosbot-releng/repo-templates #2

Merge pull request #1460 from coreosbot-releng/repo-templates

Merge pull request #1460 from coreosbot-releng/repo-templates #2

Workflow file for this run

# Maintained in https://github.com/coreos/repo-templates
# Do not edit downstream.
name: Container
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
branches: [main]
permissions:
contents: read
# avoid races when pushing containers built from main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build-container:
name: Build container image
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Build and push container
uses: coreos/actions-lib/build-container@main
with:
credentials: ${{ secrets.QUAY_AUTH }}
push: quay.io/coreos/coreos-installer
arches: amd64 arm64
# Speed up PR CI by skipping non-amd64
pr-arches: amd64