diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a91eb96c3a1e9318a3a0bae43919e46e56622960..e33f21b8810695035c41f1f93d0fe0ed010c8c4e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,16 @@ docker_image: only: - master - ci_dev + script: + - cd containers/docker && make release-latest + +docker_tag: + image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest + stage: container + tags: + - sodium + only: + - tags script: - cd containers/docker && make release diff --git a/CMakeLists.txt b/CMakeLists.txt index 4bb2e3f679e71349ff7a29fd5007f21ecb9549b3..d2cd4580192a1fb2409056bfa8dbfea117a36d91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.2 FATAL_ERROR) -project(NPDet VERSION 0.2.0 +project(NPDet VERSION 0.3.0 LANGUAGES CXX) option(BUILD_DATA_MODEL "build the dd4pod datamodel" ON) diff --git a/containers/docker/Makefile b/containers/docker/Makefile index 0c8561336bf2cee76fe3e8059b28e4963bcc420c..564151dc50aec3a61f1c821a5fc8ee62a21fe91f 100644 --- a/containers/docker/Makefile +++ b/containers/docker/Makefile @@ -75,6 +75,8 @@ login: ## Auto login to AWS-ECR unsing aws-cli @docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY} echo "Login COMPLETE" +release-latest: build login publish-latest ## Make a release by building and publishing the `{version}` ans `latest` tagged containers to ECR + release: build-nc publish cleanup## Make a release by building and publishing the `{version}` ans `latest` tagged containers to ECR release-cached: build publish ## Make a release by building and publishing the `{version}` ans `latest` tagged containers to ECR