Use artifacts_file_for for container artifacts JSON file
@@ -68,11 +68,7 @@ for service in "${services[@]}"; do
done
-# TODO: Add this to a separate file
-artifact_file="container_artifacts.json"
-
# TODO: Do we want to put the complete container image name in for
# each service? Perhaps not, particularly if we're going to be
# promoting containers across repositories
-mkdir "${ARTIFACT_FILE_DIRECTORY}"
-artifact_json "${TAG}" "${services[@]}" > "${ARTIFACT_FILE_DIRECTORY}/${artifact_file}"
+artifact_json "${TAG}" "${services[@]}" > "$(artifacts_file_for containers)"
