File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 77
88logger = logging .getLogger (__name__ )
99
10- __version__ = "0.4.11 "
10+ __version__ = "0.4.12 "
1111
1212# set log level
1313logger .setLevel (logging .DEBUG )
Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+ ENV DEBIAN_FRONTEND=noninteractive
3+ RUN apt update && apt upgrade -y && apt install -y --no-install-recommends \
4+ python3-dev \
5+ python3-pip
6+ ARG VERSION
7+ RUN pip3 install aperturedb==${VERSION}
Original file line number Diff line number Diff line change 1+ echo " Building aperturedb"
12rm -rf build/ dist/ vdms.egg-info/
23python3 -m build
4+
5+ echo " Uploading aperturedb"
36twine upload --skip-existing --verbose dist/*
7+
8+ RELEASE_IMAGE=" aperturedata/aperturedb-python:latest"
9+ source version.sh && read_version
10+ echo " Building image ${RELEASE_IMAGE} "
11+ docker build --no-cache -t ${RELEASE_IMAGE} \
12+ --build-arg=" VERSION=${BUILD_VERSION} " -f docker/release/Dockerfile .
13+ docker push ${RELEASE_IMAGE}
You can’t perform that action at this time.
0 commit comments