-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from LinuxSuRen/multiarch
Use the multiarch support instead of multiple images
- Loading branch information
Showing
4 changed files
with
11 additions
and
645 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
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 |
---|---|---|
|
@@ -50,8 +50,11 @@ jobs: | |
run: | | ||
curl -L https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz|tar xzv | ||
export PATH=.:$PATH:phantomjs/bin | ||
wget https://github.com/LinuxSuRen/custom-war-packager/releases/download/v2.0-alpha-6/custom-war-packager-cli-2.0-alpha-7-20210527.031403-1-jar-with-dependencies.jar | ||
mv custom-war-packager-cli-2.0-alpha-7-20210527.031403-1-jar-with-dependencies.jar ~/.jenkins-cli/cwp-cli.jar | ||
jcli cwp --install-artifacts --config-path formula.yaml \ | ||
--value-set version=${{ steps.build_env.outputs.version }} | ||
--value-set output=load \ | ||
--value-set tag=kubespheredev/ks-jenkins:${{ steps.build_env.outputs.version }} | ||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/[email protected] | ||
if: github.event_name == 'pull_request' | ||
|
@@ -62,9 +65,3 @@ jobs: | |
ignore-unfixed: true | ||
vuln-type: 'os,library' | ||
severity: 'CRITICAL,HIGH' | ||
- name: Build for arm | ||
run: | | ||
curl -L https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz|tar xzv | ||
export PATH=.:$PATH:phantomjs/bin | ||
jcli cwp --install-artifacts --config-path formula-arm.yaml --value-set output=load \ | ||
--value-set version=${{ steps.build_env.outputs.version }} |
Oops, something went wrong.