0

When I use docker:tag of Fabric.io's docker-maven-plugin, it tags all my images:

[INFO] --- docker-maven-plugin:0.40.2:tag (tag-latest) @ tracker-service-app ---
[INFO] DOCKER> Tagging image dacadoo/db-with-data:latest successful!
[INFO] DOCKER> Tagging image dacadoo/tracker-service-app:latest successful!
[INFO] 
[INFO] --- docker-maven-plugin:0.40.2:tag (tag-v-g) @ tracker-service-app ---
[INFO] DOCKER> Tagging image dacadoo/db-with-data:1.0-SNAPSHOT-fc5f529 successful!
[INFO] DOCKER> Tagging image dacadoo/tracker-service-app:1.0-SNAPSHOT-fc5f529 successful!

Is there a way to tag just one?
The documentation doesn't mention any such option...

Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277

1 Answers1

0

I've found the answer - I need to use docker.filter, which is a bit tricky as I am tagging from executions bound to lifecycle phases. But doable.

https://dmp.fabric8.io/#global-configuration

Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277