Skip to content

BCOL API GOLD CD

BCOL API GOLD CD #8

name: BCOL API GOLD CD
on:
push:
branches:
- main
paths:
- "bcol-api/**"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- prod
jobs:
bcol-api-cd:
uses: bcgov/bcregistry-sre/.github/workflows/backend-cd-ocp.yaml@main
with:
target: ${{ inputs.target }}
app_name: "bcol-api"
working_directory: "./bcol-api"
secrets:
OP_CONNECT_URL: ${{ secrets.OP_GOLD_CONNECT_URL }}
OP_CONNECT_TOKEN: ${{ secrets.OP_GOLD_CONNECT_TOKEN }}
OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT_GOLD_DOCKER_REGISTRY }}
OPENSHIFT_LOGIN_REGISTRY: ${{secrets.OPENSHIFT_GOLD_LOGIN_REGISTRY}}
OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT_GOLD_SA_NAME }}
OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT_GOLD_SA_TOKEN }}
OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT_GOLD_REPOSITORY }}