cleanup conan packages and upload package to registry

This commit is contained in:
Lukas Heiligenbrunner 2020-11-03 20:31:33 +01:00
parent eb66222304
commit 0d5c7a61b4
2 changed files with 7 additions and 3 deletions

View File

@ -15,7 +15,9 @@ docker_linux:
# See https://github.com/docker-library/docker/pull/166 # See https://github.com/docker-library/docker/pull/166
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
script: script:
- docker build -t test Docker/Linux_Conan - docker build -t luki42/dynuiprefresher_build:conanbuild Docker/Linux_Conan
- docker login -p $DockerPWD -u luki42
- docker push luki42/dynuiprefresher_build:conanbuild
only: only:
changes: changes:
- Docker/Linux_Conan/* - Docker/Linux_Conan/*

View File

@ -15,9 +15,11 @@ conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-co
mkdir -p build # create build folder mkdir -p build # create build folder
CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing -g none CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing -g none
# cleanup
cd ..
# cleanup
conan remove -s -t -f
cd ..
rm -Rf ./dynuiprefresher rm -Rf ./dynuiprefresher
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
rm /tmp/build.sh rm /tmp/build.sh