From f7eb5b79fc3af92e182c94c7ccd7d5be3f1d69ef Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 13 Aug 2020 11:08:53 -0700 Subject: [PATCH] fix docker images command --- .azure-pipelines/templates/jobs/packaging-jobs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml index 96d3792ac..726376957 100644 --- a/.azure-pipelines/templates/jobs/packaging-jobs.yml +++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml @@ -8,7 +8,7 @@ jobs: # We don't filter for the Docker Hub organization to continue to allow # easy testing of these scripts on forks. - bash: | - DOCKER_IMAGES=$(docker images --quiet --filter reference='*/dns-*' --filter reference='*/certbot') + DOCKER_IMAGES=$(docker images --filter reference='*/certbot' --filter reference='*/dns-*' --format '{{.Repository}}') docker save --output docker_images.tar $DOCKER_IMAGES displayName: Save the Docker images # If the name of the tar file or artifact changes, the deploy stage will