From 9168fb9babb06b43ed3fd98d586513c06a8c5cd1 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 12 Mar 2024 00:02:35 -0700 Subject: [PATCH] fix(ci): keep working on prod rollout (#80) --- .github/workflows/prod.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index ca1e8ffc..ec6fb054 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -3,25 +3,12 @@ name: PROD Release on: release: types: [published] - workflow_dispatch: concurrency: group: ${{ github.workflow }} cancel-in-progress: true jobs: - vars: - name: Set Variables - outputs: - pr: ${{ steps.pr.outputs.pr }} - runs-on: ubuntu-22.04 - timeout-minutes: 1 - steps: - # Get PR number for squash merges to main - - name: PR Number - id: pr - uses: bcgov-nr/action-get-pr@v0.0.1 - deploys: name: PROD Deployments environment: prod @@ -43,11 +30,11 @@ jobs: oc_token: ${{ secrets.OC_TOKEN }} overwrite: true parameters: - -p ZONE=prod -p PROMOTE=${{ github.repository }}/${{ matrix.name }}:test + -p ZONE=prod -p PROMOTE=${{ github.repository }}/${{ matrix.name }}:latest image-promotions: name: Promote Images - needs: [vars, deploys] + needs: [deploys] permissions: packages: write runs-on: ubuntu-22.04 @@ -61,4 +48,4 @@ jobs: registry: ghcr.io repository: ${{ github.repository }}/${{ matrix.package }} tags: prod - target: ${{ needs.vars.outputs.pr }} + target: latest