This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Prefix docker and registry with library/
as workaround for Grype regression
#77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rumble-presubmit | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Run Go tests | |
run: | | |
set -x | |
go test -v ./... | |
- name: Build image | |
run: | | |
set -x | |
./scripts/build.sh | |
- name: Check if image runs | |
run: | | |
set -x | |
docker run --rm rumble:dev-amd64 \ | |
--attest=false --bigquery=false -syft |