Skip to content
Snippets Groups Projects
Commit 46742e13 authored by Andrea Franchini's avatar Andrea Franchini
Browse files

Merge branch 'feature/control_images_at_artifactory' into 'main'

reduce the number of images stored in artifactory

See merge request piacere/private/t41-doml-model-checker!7
parents 677e9d12 dd3c187d
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ build-temp-dmc: ...@@ -33,7 +33,7 @@ build-temp-dmc:
before_script: before_script:
- *artifactory-login - *artifactory-login
script: script:
- docker build -t $TMP_IMAGE . - docker build -t $TMP_IMAGE --label "com.jfrog.artifactory.retention.maxCount=3" .
- docker push $TMP_IMAGE - docker push $TMP_IMAGE
tags: tags:
- docker - docker
...@@ -104,8 +104,6 @@ deploy-dmc: ...@@ -104,8 +104,6 @@ deploy-dmc:
script: script:
- docker pull $TMP_IMAGE - docker pull $TMP_IMAGE
- docker tag $TMP_IMAGE $TARGET_IMAGE - docker tag $TMP_IMAGE $TARGET_IMAGE
- docker tag $TMP_IMAGE $TARGET_IMAGE_VERSIONED
- docker push $TARGET_IMAGE_VERSIONED
- docker push $TARGET_IMAGE - docker push $TARGET_IMAGE
tags: tags:
- docker - docker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment