Skip to content

backend: Add person search endpoint to enable Login As flow #31

backend: Add person search endpoint to enable Login As flow

backend: Add person search endpoint to enable Login As flow #31

name: Release staging backend
on:
push:
branches:
- main
paths:
- 'backend/**'
- '.github/workflows/staging-backend.yml'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: grappa-backend
tags: staging ${{ github.sha }}
context: backend
containerfiles: |
backend/Dockerfile
build-args: |
GIT_SHA=${{ github.sha }}
- name: Push to quay.io
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io/toska
username: toska+github
password: ${{ secrets.QUAY_IO_TOKEN }}