-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuildnotes.txt
18 lines (12 loc) · 929 Bytes
/
buildnotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
rm -rf build dist blackduck_scan_guidance.egg-info; python3 setup.py sdist bdist_wheel
# pip3 install dist/*.whl
python3 -m twine upload --repository testpypi --repository-url https://test.pypi.org/legacy/ dist/*
python3 -m twine upload --repository pypi dist/*
docker image rm ghcr.io/matthewb66/bdghdirectscan:latest; docker build . -t ghcr.io/matthewb66/bdghdirectscan:latest --no-cache
# docker tag bdghscan2:latest ghcr.io/matthewb66/bdghscan2:latest
# docker container run --name mycontainer -it tag /bin/bash
GHGR:
echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
docker push ghcr.io/matthewb66/bdghdirectscan:latest
One command:
rm -rf build dist blackduck_scan_guidance.egg-info; python3 setup.py sdist bdist_wheel; docker image rm ghcr.io/matthewb66/bdghdirectscan:latest; docker build . -t ghcr.io/matthewb66/bdghdirectscan:latest --no-cache; docker push ghcr.io/matthewb66/bdghdirectscan:latest