-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [VIO-3010] Transition from jenkins to Github Actions
This commit removes the `.jenkins` file, disabling builds through Jenkins, in favor of Github Actions.
- Loading branch information
1 parent
ff6f496
commit fd7511c
Showing
2 changed files
with
38 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: build | ||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
workflow_dispatch: | ||
|
||
jobs: | ||
image_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Checkout vapor-ware workflows | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: vapor-ware/workflows | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
ref: main | ||
path: vapor-ware-workflows | ||
|
||
- uses: ./vapor-ware-workflows/.github/actions/build-pr-image | ||
id: build-env | ||
with: | ||
REGISTRY: docker.io | ||
BUILDERIMAGE: docker.io/library/python:3.9 | ||
SLIMIMAGE: docker.io/library/python:3.9-slim | ||
DOCKERFILE: Dockerfile | ||
USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} | ||
IMAGENAME: synse-server | ||
|
||
- uses: ./vapor-ware-workflows/.github/actions/scan-image | ||
id: scan-image | ||
with: | ||
image: ${{ steps.build-env.outputs.image-archive }} | ||
fail-build: false | ||
severity-cutoff: high |