Skip to content

Commit

Permalink
feat: audit shas
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot committed Sep 16, 2024
1 parent 179eb16 commit 83c9d60
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ on:
type: string
default: "prod"
jobs:
# https://github.com/bcgov-nr/action-deployer-openshift
docker_login:
name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: {{ secrets.oc_token }}

login_and_checkout:
name: Login and checkout repo
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.oc_token }}
- uses: actions/checkout@v4
audit_packages:
name: Audit
runs-on: ubuntu-22.04
Expand All @@ -34,6 +36,11 @@ jobs:
package: [dops, vehicles, frontend, scheduler, policy]
timeout-minutes: 10
steps:
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.oc_token }}
- uses: actions/checkout@v4
- name: Audit the installed application for package sha vs deployed sha
run: |
Expand Down

0 comments on commit 83c9d60

Please sign in to comment.