Skip to content

chore: copy pull_request_linting workflow from quay/quay #718

chore: copy pull_request_linting workflow from quay/quay

chore: copy pull_request_linting workflow from quay/quay #718

Workflow file for this run

name: image
on:
pull_request_target:
branches:
- '*'
workflow_dispatch:
inputs:
tag:
description: 'Tag to attach to image'
required: true
jobs:
image:
name: image
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v2
- name: registry login
uses: docker/login-action@v1
with:
registry: quay.io
username: projectquay+quay_github
password: ${{ secrets.QUAY_TOKEN }}
- name: set up qemu
uses: docker/setup-qemu-action@v2
- name: set up docker buildx
uses: docker/setup-buildx-action@v2
- name: build image
id: push
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/ppc64le,linux/s390x
push: true
context: ./
tags: quay.io/projectquay/quay-operator:${{ github.event.inputs.tag || github.event.number }}