-
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.
* add pypi publishing and pre-release testing Signed-off-by: Alex Goodman <[email protected]> * update installation and release docs with pypi info Signed-off-by: Alex Goodman <[email protected]> * clean dist before publish Signed-off-by: Alex Goodman <[email protected]> * require poetry dynamic version plugin on build and publish make targets Signed-off-by: Alex Goodman <[email protected]> * split up publishing events from valiadtion Signed-off-by: Alex Goodman <[email protected]> --------- Signed-off-by: Alex Goodman <[email protected]>
- Loading branch information
Showing
7 changed files
with
122 additions
and
27 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 |
---|---|---|
|
@@ -75,9 +75,10 @@ runs: | |
python-version: ${{ inputs.python-version }} | ||
|
||
- name: Install poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: ${{ inputs.poetry-version }} | ||
shell: bash | ||
run: | | ||
pipx install poetry==${{ inputs.poetry-version }} | ||
poetry self add "poetry-dynamic-versioning[plugin]" | ||
- name: Cache Poetry virtualenv | ||
uses: actions/cache@v3 | ||
|
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
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 |
---|---|---|
|
@@ -20,21 +20,18 @@ Supported data sources: | |
With pip: | ||
|
||
```bash | ||
pip install git+https://github.com/anchore/vunnel@main | ||
|
||
# or use a git tag | ||
pip install git+https://github.com/anchore/[email protected] | ||
pip install vunnel | ||
``` | ||
|
||
With docker: | ||
|
||
```bash | ||
docker run \ | ||
--rm -it \ | ||
-v $(pwd)/data:/data \ # keep the processed data on the host | ||
-v $(pwd)/.vunnel.yaml:/.vunnel.yaml # if you have a vunnel config | ||
ghcr.io/anchore/vunnel:latest # a git tag can be used as the version | ||
run nvd # arguments for vunnel | ||
-v $(pwd)/data:/data \ | ||
-v $(pwd)/.vunnel.yaml:/.vunnel.yaml \ | ||
ghcr.io/anchore/vunnel:latest \ | ||
run nvd | ||
``` | ||
Where: | ||
- the `data` volume keeps the processed data on the host | ||
|
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