Skip to content

Commit

Permalink
Fix gh-actions for testing container build (#103)
Browse files Browse the repository at this point in the history
* Added a build container test step

* Added echo statements and removed golang action

* Changed names of jobs

* Address review comment
  • Loading branch information
manavrajvanshi committed May 24, 2023
1 parent ebc4e80 commit 18dee2a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

jobs:
build-container:
build-binary:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
Expand All @@ -32,3 +32,16 @@ jobs:
exit-code: "1"
vuln-type: "os,library"
severity: "CRITICAL,HIGH"
build-container:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."

- name: Checkout
uses: actions/checkout@v3

- name: Build container image
env:
IMAGE_TAG_BASE: ${{ github.repository }}_build_container_test
run: make docker-build

0 comments on commit 18dee2a

Please sign in to comment.