-
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.
- Loading branch information
Showing
2 changed files
with
4 additions
and
17 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 |
---|---|---|
|
@@ -17,17 +17,6 @@ jobs: | |
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
- name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
with: | ||
install: true | ||
driver-opts: network=host | ||
- name: Login to Harbor | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: harbor.prod-aws.phylum.dev | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_TOKEN }} | ||
- name: Build Linux | ||
run: docker build lib/ --file lib/Dockerfile.linux --tag static-build | ||
- name: Build MacOS | ||
|
@@ -47,8 +36,6 @@ jobs: | |
cp lib/src/bin/phylum.bash phylum-cli-release/ | ||
cp phylum-linux-x86_64 phylum-cli-release/ | ||
cp phylum-macos-x86_64 phylum-cli-release/ | ||
cp phylum-linux-x86_64.minisig . | ||
cp phylum-macos-x86_64.minisig . | ||
cp lib/install.sh . | ||
cp lib/src/bin/settings.yaml . | ||
cp lib/src/bin/phylum.bash . | ||
|
@@ -61,7 +48,7 @@ jobs: | |
uses: haya14busa/action-cond@v1 | ||
id: preRelease | ||
with: | ||
cond: ${{ contains(github.event.release.tag_name, 'rc') }} | ||
cond: ${{ contains(github.ref, 'rc') }} | ||
if_true: 'true' # string value | ||
if_false: 'false' # string value | ||
- uses: softprops/[email protected] | ||
|
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