Skip to content

Adding CI tests (#59) #2

Adding CI tests (#59)

Adding CI tests (#59) #2

Workflow file for this run

name: Image Push
on:
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 }}