(DIO-1541) Release with github actions

This commit is contained in:
suckatrash 2021-10-01 11:12:20 -07:00
parent 39cadfd3a6
commit fff88bcff7
No known key found for this signature in database
GPG key ID: 1A9EE78B881BED99
3 changed files with 53 additions and 3 deletions

View file

@ -1,8 +1,11 @@
FROM python:3.10-rc-buster
ADD README.md /
ADD generate.py /
ADD setup.py /
ADD infinitory /infinitory
ENV TOKEN $TOKEN
ENV BUCKET $BUCKET
ENV GOOGLE_APPLICATION_CREDENTIALS $GOOGLE_APPLICATION_CREDENTIALS
RUN pip install --upgrade pip
RUN pip install -i https://artifactory.delivery.puppetlabs.net/artifactory/api/pypi/pypi/simple -v infinitory==0.1.6
ENTRYPOINT python generate.py ${PDB_HOST} ${TOKEN} ${BUCKET}
RUN python setup.py install
ENTRYPOINT python generate.py ${PDB_HOST} ${TOKEN} ${BUCKET}