Skip to content

chore(deps): update bcgov/action-builder-ghcr action to v4 #307

chore(deps): update bcgov/action-builder-ghcr action to v4

chore(deps): update bcgov/action-builder-ghcr action to v4 #307

Workflow file for this run

name: PR Closed
on:
pull_request:
branches: [main]
types: [closed]
concurrency:
# PR open and close use the same group, allowing only one at a time
group: pr-${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true
jobs:
cleanup:
name: Cleanup OpenShift and/or Promote Images
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@0b8121a528aaa05ef8def2f79be9081691dfe98a # v0.9.0
secrets:
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
cleanup: helm
packages: backend-java backend-py migrations-py
cleanup_db: # TODO move it off to another action later.
name: Remove DB User from Crunchy
runs-on: ubuntu-24.04
steps:
- uses: bcgov/action-crunchy@ac46670c974c2238fffb635eee7bbd27735c25bc # v1.2.1
name: Remove PR Specific User
with:
oc_namespace: ${{ vars.oc_namespace }}
oc_token: ${{ secrets.oc_token }}
oc_server: ${{ vars.oc_server }}
values_file: charts/crunchy/values.yml