Skip to content

Merge pull request #319 from operate-first/dependabot/npm_and_yarn/pr… #200

Merge pull request #319 from operate-first/dependabot/npm_and_yarn/pr…

Merge pull request #319 from operate-first/dependabot/npm_and_yarn/pr… #200

Workflow file for this run

name: Push
on:
push:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./.github/actions/test
build-controller:
name: Build and Push Controller
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build-controller
with:
tags: ${{ github.sha }} latest
- name: Push To Quay
uses: redhat-actions/push-to-registry@v2
if: ${{ github.repository == 'operate-first/peribolos-as-a-service'}}
with:
image: peribolos-as-a-service
tags: ${{ github.sha }} latest
registry: quay.io/operate-first
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Set expiration
uses: ./.github/actions/set-expiration
with:
repository: operate-first/peribolos-as-a-service
tag: ${{ github.sha }}
expiration: +1 week
token: ${{ secrets.QUAY_OAUTH_TOKEN }}