diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 00000000..7fc8fbde --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,6 @@ +version = 1 + +[[analyzers]] +name = "python" +enabled = true +runtime_version = "3.x.x" diff --git a/build/Prod.Dockerfile b/build/Prod.Dockerfile index 72f1e4d0..29588cfe 100644 --- a/build/Prod.Dockerfile +++ b/build/Prod.Dockerfile @@ -5,8 +5,8 @@ LABEL maintainer="Ivelin Ivanov " VOLUME /workspace WORKDIR /opt/ambianic -COPY src/ /src/ -RUN ls -la /src/* && pip3 install -e src +COPY ["./src", "./src/"] +RUN ls -la ./src/* && pip3 install -e src WORKDIR /workspace diff --git a/build/prepare-release.sh b/build/prepare-release.sh index f2e375e9..5f2cdd90 100755 --- a/build/prepare-release.sh +++ b/build/prepare-release.sh @@ -17,6 +17,10 @@ a=( ${RELEASE_VERSION//./ } ) MAJOR=${a[0]} MINOR=${a[1]} PATCH=${a[2]} +echo "RELEASE_VERSION=$RELEASE_VERSION" +echo "MAJOR=$MAJOR" +echo "MINOR=$MAJOR.$MINOR" +echo "PATCH=$PATCH" docker tag ambianic/ambianic:latest ambianic/ambianic:$MAJOR docker push ambianic/ambianic:$MAJOR docker tag ambianic/ambianic:latest ambianic/ambianic:"$MAJOR.$MINOR"