Skip to content

Add initial "Login As" functionality for admins #23

Add initial "Login As" functionality for admins

Add initial "Login As" functionality for admins #23

Workflow file for this run

name: Release production
on:
release:
types:
- published
jobs:
release-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: grappa-frontend
tags: production ${{ github.sha }}
context: frontend
containerfiles: |
frontend/Dockerfile
build-args: |
BASE_PATH=/
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 }}
release-backend:
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: production ${{ github.sha }}
context: backend
containerfiles: |
backend/Dockerfile
build-args: |
BASE_PATH=/
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 }}