Skip to content

Commit

Permalink
gha - build and test BullMQ
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Oct 27, 2024
1 parent a9d2b68 commit f9cecf0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/buildTestPublishContainerDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- BullMQ
release:
types:
- published
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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 ๐Ÿš€
Expand Down

0 comments on commit f9cecf0

Please sign in to comment.