File tree Expand file tree Collapse file tree 4 files changed +13
-35
lines changed
Expand file tree Collapse file tree 4 files changed +13
-35
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-20.04
1010 steps :
1111 - uses : actions/checkout@v2
12+ - name : Push Docker image to Docker Hub
13+ uses : docker/build-push-action@v2
14+ with :
15+ build-args : PIP_FLAGS="--pre"
16+ push : true
17+ username : ${{ secrets.DOCKER_USERNAME }}
18+ password : ${{ secrets.DOCKER_PASSWORD }}
19+ repository : superannotate/pythonsdk
20+ tag_with_ref : true
1221 - name : Set up Python
1322 uses : actions/setup-python@v2
1423 with :
2635 uses : pypa/gh-action-pypi-publish@master
2736 with :
2837 password : ${{ secrets.pypi_password }}
29- - name : Push Docker image to Docker Hub
30- uses : docker/build-push-action@v2
31- with :
32- push : true
33- username : ${{ secrets.DOCKER_USERNAME }}
34- password : ${{ secrets.DOCKER_PASSWORD }}
35- repository : superannotate/pythonsdk
36- tag_with_ref : true
37- file : ./Dockerfile_prerelease
Original file line number Diff line number Diff line change 11FROM ubuntu:20.04
22ENV LANG C.UTF-8
33
4+ ARG PIP_FLAGS
5+
46SHELL ["/bin/bash" , "-c" ]
57
68ENV DEBIAN_FRONTEND noninteractive
@@ -15,7 +17,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
1517RUN update-alternatives --install /usr/local/bin/pip pip /usr/bin/pip3 1
1618
1719RUN apt-get install -y build-essential && \
18- pip install --no-cache-dir superannotate && \
20+ pip install --no-cache-dir $PIP_FLAGS superannotate && \
1921 apt-get remove -y build-essential && \
2022 apt-get -y autoremove && \
2123 rm -rf /root/.cache/pip && \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- __version__ = "3.0.0b3 "
1+ __version__ = "3.0.0b4 "
You can’t perform that action at this time.
0 commit comments