diff --git a/.github/workflows/buildTestPublishContainerDeploy.yml b/.github/workflows/buildTestPublishContainerDeploy.yml index ef6da8eed..240781345 100644 --- a/.github/workflows/buildTestPublishContainerDeploy.yml +++ b/.github/workflows/buildTestPublishContainerDeploy.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - BullMQ release: types: - published @@ -15,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 + uses: actions/checkout@v4 with: persist-credentials: false - uses: actions/setup-node@v3 @@ -43,12 +44,12 @@ jobs: echo $notifyBCContainerTag > notifyBCContainerTag.txt - name: Upload notifyBCContainerTag if: ${{ startsWith(github.ref, 'refs/heads/') }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: notifyBCContainerTag path: notifyBCContainerTag.txt - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 + uses: actions/checkout@v4 with: persist-credentials: false - name: Login to GitHub Container Registry @@ -58,7 +59,7 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.CR_PAT }} - name: Publish Container 🚀 - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: push: true tags: ghcr.io/bcgov/notify-bc:${{ env.notifyBCContainerTag }} @@ -69,7 +70,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 + uses: actions/checkout@v4 with: persist-credentials: false - name: Decrypt values.ocp4.dev.yaml.gpg @@ -85,7 +86,7 @@ jobs: openshift_token: ${{ secrets.OPENSHIFT_API_TOKEN }} namespace: ${{ secrets.OPENSHIFT_PROJECT }}-dev - name: Download notifyBCContainerTag - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: notifyBCContainerTag - name: helm upgrade 🚀