Skip to content

Merge pull request #68 from shashank-boyapally/requirements-update #8

Merge pull request #68 from shashank-boyapally/requirements-update

Merge pull request #68 from shashank-boyapally/requirements-update #8

Workflow file for this run

name: Image Push
on:
workflow_dispatch:
push:
branches:
- master
- main
jobs:
build:
name: Image Push
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build Orion Image
id: build-orion
uses: redhat-actions/buildah-build@v2
with:
image: orion
context: .
tags: latest ${{ github.sha }}
containerfiles: |
./Dockerfile
- name: Push orion image to quay.io
id: push-front-to-quay
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-orion.outputs.image }}
tags: ${{ steps.build-orion.outputs.tags }}
registry: quay.io/cloud-bulldozer
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_TOKEN }}