Skip to content

[pre-commit.ci] pre-commit autoupdate #98

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #98

Workflow file for this run

name: Build Image
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
image-build:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'dependabot') == false || contains(github.head_ref, 'pre-commit') == false
environment: image-build
steps:
- name: Login to Quay.io
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build image and push if necessary
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
tags: quay.io/${{ github.repository }}:latest