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:
before_script:
- *artifactory-login
script:
- docker build -t $TMP_IMAGE .
- docker build -t $TMP_IMAGE --label "com.jfrog.artifactory.retention.maxCount=3" .
- docker push $TMP_IMAGE
tags:
- docker
......@@ -104,8 +104,6 @@ deploy-dmc:
script:
- docker pull $TMP_IMAGE
- docker tag $TMP_IMAGE $TARGET_IMAGE
- docker tag $TMP_IMAGE $TARGET_IMAGE_VERSIONED
- docker push $TARGET_IMAGE_VERSIONED
- docker push $TARGET_IMAGE
tags:
- docker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment