Skip to content

Commit

Permalink
test before release
Browse files Browse the repository at this point in the history
Signed-off-by: Sunny Yip <[email protected]>
  • Loading branch information
sunnyyip committed Jul 8, 2024
1 parent ebde607 commit 07d7bc1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build and Test

on:
workflow_dispatch:
push:
# branches:
# - main

permissions:
contents: read
id-token: write

jobs:

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0

- name: clone guac-data
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
repository: 'guacsec/guac-data'
ref: 'main'
path: 'guac-data'

- name: ingest to guac
uses: ./
continue-on-error: true
with:
files: ./guac-data/docs/spdx/spdx_vuln.json
# files: ./guac-data/top-dh-sboms
client-id: ${{ secrets.GUAC_CLIENT_ID }}
client-secret: ${{ secrets.GUAC_CLIENT_SECRET }}
api-addr: https://ingesttest.api.dev.kusari.cloud
# token-url: https://auth.dev.kusari.cloud/oauth2/token

- name: last step
shell: bash
run: |
echo "This runs after GUAC ingestion"
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#v0.7.2
FROM ghcr.io/kusaridev/kusari-uploader@sha256:52bcbf878fe8fd8827b7a61185c3f6b58ff37016608406a900ba4646d25cee6e
#v0.7.2 - multi-arch
FROM ghcr.io/kusaridev/kusari-uploader@sha256:6da882fadbbffebbd33a996447d591f0b33fb2a72a47e6584bf5ea35f974250f

0 comments on commit 07d7bc1

Please sign in to comment.